Browsing articles tagged with "PHP Archives - Techtites"
May
30
2012

WordPress Admin Icons Template

Matthias Kretschmann has developed a template for designing your own icons for the admin area of WordPress. This is very useful for plugin and theme developers looking to add new icons to their new menus. Icons are also used when you have custom post types on your blog. The template contains a total of 6 icon sizes and is available in PNG and PSD formats. The download package also has some PHP code that you can include in your plugin or theme to get the icons working in your WordPress Admin area. Download from WordPress Admin Icons Template  

Apr
21
2012

WordPress 3.3.2 released

WordPress 3.3.2 has been released. This is a maintenance and also includes a key security update. List of Files Revised wp-comments-post.php wp-includes/version.php wp-includes/js/swfobject.js wp-includes/js/plupload/plupload.html4.js wp-includes/js/plupload/plupload.silverlight.xap wp-includes/js/plupload/plupload.html5.js wp-includes/js/plupload/changelog.txt wp-includes/js/plupload/plupload.silverlight.js wp-includes/js/plupload/plupload.flash.js wp-includes/js/plupload/handlers.dev.js wp-includes/js/plupload/plupload.flash.swf wp-includes/js/plupload/plupload.js wp-includes/js/swfupload/swfupload.swf wp-includes/wp-db.php wp-includes/formatting.php wp-includes/capabilities.php wp-includes/kses.php wp-includes/script-loader.php wp-includes/ms-functions.php readme.html wp-admin/about.php wp-admin/includes/update-core.php wp-admin/plugins.php wp-admin/press-this.php wp-admin/setup-config.php Full log of changes The fastest way to upgrade to the latest version of WordPress is via Dashboard > Updates. Or just click on the message at the top of your screen.

Dec
21
2010

Protect your blog from spam with Confident CAPTCHA

So you’re worried about spam bots attacking your site. You must have heard of CAPTCHA. Maybe even implemented it with the hope that it will stop those spam bots. Unfortunately, this isn’t the fool proof solution, because spam bots are known to break these. So, CAPTCHAs tend to become even more confusion, with distorted lines and text and more. Confident CAPTCHAâ„¢ is an easy to use, clickable picture CAPTCHA that stops spam and bots on websites by asking visitors to simply click on images, rather than decipher the warped and distorted text used in most CAPTCHA tests. Confident CAPTCHA stops…

Read the rest of this post…

Jan
31
2009

Dynamic JavaScript with PHP

Early this morning, I released Top 10 – A Page Counter and Popular Posts plugin for WordPress. I detailed my experience while designing this plugin. The major problem that I faced while working with this plugin was with WP Super Cache. WP Super Cache creates a static file of your post and displays this to the viewer. As a result, any PHP code that is present in your WordPress blog template is executed only once and the cached file is then served to your visitor. The initial version of Top 10 used PHP to record the page views as well…

Read the rest of this post…

Jan
17
2009

FTP blocked on your connection? Use net2ftp

A few years ago, I faced a major problem with uploading and downloading files via FTP. My internet connection blocked a lot of ports, FTP among them and switching ISPs wasn’t an option. It was an extremely frustrating situation, until I stumbled upon net2ftp. net2ftp is a web based FTP client with features that rival several desktop based FTP clients. Navigate the FTP server Upload files Download files individually or via ZIP files Zip/Unzip files Install software Copy, move and delete Copy or move to a 2nd FTP server Rename and chmod View code with syntax highlighting Plain text editor…

Read the rest of this post…

Jan
14
2009

Fix the Windows Live Writer and WordPress stripping tags issue

I’ve been using Windows Live Writer to write posts for several months now. This has primarily been for my blog posts at Weblog Tools Collection. I decided to start using WLW for Techtites and AjayDSouza.com. I was able to add both the blogs properly and made my first blog post. Uploaded the post to my website and noticed gibberish. On closer observation, I realized that the < and > were stripped out completely. As a result, code like <p><a href=”http://techtites.com/”>Techtites</a></p> became pa href=”http://techtites.com/”Techtites/a/p. I manually had to edit the post to correct this post. I noticed the problem at both…

Read the rest of this post…

Jan
7
2009

Three pieces of code to replace WordPress plugins

While WordPress plugins are really useful, you don’t need plugins always to add certain features to your themes. Here are a few code snippets you can add to your theme files to display recent posts, random posts and recent comments. Recent Posts The following code will enclose the latest 10 posts in an unordered list. Change numberposts=10 to display a different number of posts. <ul> <?php $myposts = get_posts(‘numberposts=10′); foreach($myposts as $post) : ?> <li><a href=”<?php the_permalink(); ?>”><?php the_title();?></a></li> <?php endforeach; ?> </ul> This uses the get_posts function to fetch the latest posts. An alternative method is to use wp_get_archives…

Read the rest of this post…

Dec
11
2008

Start afresh with WordPress

Jeffro raised a point of reformating your blog for WordPress 2.7. I’ve been blogging with WordPress since late 2003 and have been the blog software go through tonnes of upgrades. Over time, the use of tonnes of plugins and themes has caused my database to get extremely cluttered, so I decided to start afresh with WordPress 2.7, which was released today. Note: Most users will not need to follow these steps. These are meant for advanced users. Normal users should follow the Upgrading WordPress instructions in the Codex. Proceed with extreme caution. You will not receive any support if you…

Read the rest of this post…

Oct
2
2008

Eight Places to Learn something New! (Tutorial Thursday)

If there is one thing I strongly believe is tapping the power of the Internet to learn. It is with always with great happiness that everything I have learnt in the past ten years (since I got online) has been only through tutorial sites. Here are a list of some of that where you can quickly and easily find tutorials, articles and information. W3Schools This is one of the first places that I began with. At W3Schools you will find all the Web-building tutorials you need, from basic HTML and XHTML to advanced XML, SQL, Database, Multimedia and WAP. Good…

Read the rest of this post…

Aug
17
2008

WordPress 2.6 to 2.6.1 Upgrade File

WordPress 2.6.1 was released two days back. This has been termed as an Optional Upgrade for users. However, this upgrade has fixed over 60 bugs. The main updates are improved right-left language support as well fixing of a gettext bug, permalink fixes for IIS users and fix for image insertion problem in the Press This feature experienced by IE users. Based on the list of changed files, I’ve created a ZIP package that users can download. I’ve used the same to upgrade both my blogs. You can download the file at the bottom from the bottom of the post. You…

Read the rest of this post…

Pages:12»