Category Archives: Wordpress

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: WP Query with Custom Fields

$args = array( ‘posts_per_page’ => -1, ‘meta_key’ => ‘city’, ‘orderby’ => ‘meta_value’, ‘order’ => ‘ASC’, ‘meta_query’ => array( array( ‘key’ => ‘destination_type’, ‘value’ => ‘city, state’, ‘compare’ => ‘IN’ ), array( ‘key’ => ‘country’, ‘value’ => $country, ‘compare’ => ‘=’ … Continue reading

Posted in Wordpress | Leave a comment

Themed Login & Register Page for WordPress

WordPress is a great CMS and has huge customization abilities. Adding to the list is the “Theme My Login” plugin through which you can have themed “Login”, “Lost Password” and “Register” page. Just install and activate the plugin and you … Continue reading

Posted in Wordpress | 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

FaceBook – Add custom thumbnail and title when someone likes your Website

Facebook Link button is now floating on almost every website. By default, when a user clicks on Facebook “Like” button on any of your webpage, it will post the image thumbnail, title and description from the same page. Just in … Continue reading

Posted in Facebook, Wordpress | 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, Achilles as an epic hero | 1 Comment

Custom User Registration Plugins for WordPress

I have been trying hard to find an easy way out to add custom registration field to the WordPress default registration form. I recommend the following wordpress plugin to customize, add custom fields, manage user registration, moderate user registration and … Continue reading

Posted in Wordpress | Tagged | 1 Comment

Thumbnail for Excerpts : Hack for WordPress 2.8+

I was stucked with Thumbnail for Excerpt plugin behaving unexpectedly with WordPress 2.8.2 Thank you Cory for sharing the plugin hack to make it work. Bug: The Thumbnail for Excerpt plugin showing the same thumbnail image with all the posts … Continue reading

Posted in Wordpress | Tagged , | 1 Comment