Category Archives: Wordpress Hacks

Changing WordPress Site URL using raw MySQL Query

At times, you may want to migrate a wordpress installation to another domain. At that point of time, you need to change the website url in the wordpress database to point to the new website url. 1. Change the option … Continue reading

Posted in Wordpress, Wordpress Hacks | Leave a comment

WordPress Pagination Not Working: Solution

If you use query_post function on a theme’s homepage, you might land up messing up with the pagination function of WordPress. Here is the quick fix to wordpress pagination (Next Previous Posts) function: 1. Add up the following line of … Continue reading

Posted in Wordpress, Wordpress Hacks | Leave a comment

Creating a Custom Post Type in WordPress

Creating a custom post types in WordPress is very simple. All you need to do is register the custom post type. Copy the function below to your theme’s function.php file The function below adds a custom post type “Ideas” with … Continue reading

Posted in General, Wordpress, Wordpress Hacks | Leave a comment

Running WordPress Queries in Non-WordPress Pages

At times you might want to run the WordPress queries or wordpress functions in the page located outside the wordpress templates. Thanks to wordpress for providing a very simple solution to this. You just need to include the file called … Continue reading

Posted in Wordpress, Wordpress Hacks | Leave a comment

WordPress asking for FTP username/password while trying to install plugin from admin panel

This is annoying if WordPress asks for FTP username/password everytime you try to install or update plugin from admin panel. Here is the quick hack to this. 1. Open the wp-config.php file (this will be located in the root of … Continue reading

Posted in Wordpress, Wordpress Hacks | 1 Comment