eUttaranchal

Re-Writing the Web

Running WordPress Queries in Non-WordPress Pages

Posted by Bhupendra On July - 17 - 2010ADD COMMENTS

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 [...]

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 [...]

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

Posted by Bhupendra On February - 6 - 20101 COMMENT

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

Posted by Bhupendra On November - 6 - 2009ADD COMMENTS

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+

Posted by Bhupendra On October - 28 - 20091 COMMENT

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

Posted by Bhupendra On October - 7 - 2009ADD COMMENTS

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

Posted by Bhupendra On June - 26 - 2009ADD COMMENTS

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

Posted by Bhupendra On March - 30 - 2009ADD COMMENTS

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

Posted by Bhupendra On March - 19 - 2009ADD COMMENTS

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 [...]