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 “wp-load.php” in the non-wordpress file before calling any WP functions and then you can run [...]
Running WordPress Queries in Non-WordPress Pages
Canonical URL solution – redirect non-www to www and index.php to your homepage
Canonical URL issue has always been a headache to the Webmasters and SEOs. But thanks to apache’s mod_rewrite which provide nice escapes for this problem 1. Rewrite all your urls WITHOUT www to WITH www Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^euttaranchal.com RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L] 2. Redirect all your index.php and index.html files to [...]
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 your wordpress installation) 2. Add the following line of code just after define(‘NONCE_KEY’, ‘put your [...]
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 edit the default email sent to the new registered users. 1. Cimy User Extra Fields [...]
WordPress Solutions: Add New Custom Field Not Working
If you are having an issue adding a new custom fields in your wordpress blog, here is the possible solution. Problem: Add New Custom Field Doesn’t Work at all. When you click on “Add Custom Field” nothing happens! Solution: Refer to your Theme’s Function file (functions.php) located in your theme directory. Remove any blank lines [...]
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 (with WordPress 2.8.2+) Solution: Edit the plugin in plugin editor. Replace lines 28 & 29 [...]
Highlight the Background of Current Page in WordPress
I was stucked finding an easy solution to highlight the background of the current (active) page in wordpress. The solution is however too simple. Just add the following CSS code in your stylesheet (style.css) #menu_id li.current_page_item a{ background:#2E8DE6; } Note: Be sure to replace #menu_id with the id of your navigation bar. In this case, [...]
Yamidoo Theme Featured Content Image Slider Fix
Yamidoo Magazine Theme is one of the popular wordpress theme to give your blog a professional and fresh look. However, one of the common problem encoutered by Yamidoo theme users is that the Featured Content Gallery doesn’t slide automatically. A simple tweak below can fix this bug and make the Featured Content Gallery on the [...]
Custom Read More link for WordPress
The default “read more” link for the wordpress that comes with the_excerpt function shows [...] after every post listing WITHOUT a hyperlink to the post. To make the_excerpt function more useful, you can add a custom read more link which will replace [...] It require a small tweak in wp_trim_excerpt function. Open your wordpress file [...]
Best WordPress Plugins
WordPress itself is a wonderful script for the bloggers and webmasters. And the plugins make it more delicious. The list of great WordPress Plugins is countless but still I have tried to collect a list of “Some” of the BEST WordPress Plugins I have used so far 1. WP-TREE This Widget-enabled plugin is highly configurable [...]


