Modified version of get_the_category to limit the number of categories displayed.

Unfortunately WordPress functions get_the_category(), the_category() do not take any arguments and display all the categories the post is filed in. I wrote a small custom function during the development of swift to echo a specific number of categories a post is filed in. I hope this will help the fellow theme developers

A common misconception about updating themes in wordpress

Usually updating a software means replacing the old files with the new ones, but there is a better way to do it when it comes to wordpress themes. The main advantage of following the procedure described in this post is you can quickly switch back to the old version of the theme if you find any problems with the new version or if it clashes with any plugins you are using.

[Security Risk] Add this fix asap

There is an XSS vulnerability in SWIFT, you should fix it asap.
Even if you are not a swift user you should check your theme for the following vulnerability and fix it.

Ultimate method to add post thumbanils to your wordpress theme

In this tutorial, I will show you the best method to add post thumbnail feature to your wordpress theme. This is what we are going to do. We will check if there is any image set in custom fields, if yes we display that image. Else we check if there is any image stored in […]