December 24th in Wordpress by .

WordPress similar posts plugin not working?

I have been struggling to make this plugin working ever since i have upgraded to wordpress 2.9 version. No matter how many times i changed the setting, everytime i get this nasty message

“Posts None found”

no matter what.  I did place the similar_posts() code in the single.php page.

I have heard that …

December 23rd in Wordpress by .

Affiliate Hide – Free wordpress plugin to redirect affiliate links!

affhide

A very simple and useful WordPress plugin to hide/cloak and redirect affiliate links based on custom fields. All you have to do is create a custom field `URL` in your wordpress post and specify the affiliate link there. This plugin can come in handy for gallery wordpress blogs where you …

December 22nd in Wordpress by .

How to manually upgrade wordpress from older versions

If you have a good old version of version of wordpress, then most probably you dont have automatic upgrade option and you have to do the upgrade manually. All new versions of wordpress have automatic upgrade option where you have to go to wp-admin > Tools > upgrade and all …

December 22nd in Wordpress by .

Problem with Custom rewrite rule in WordPress

I was working with rewriting a custom rule for my wordpress plugin and i had a strange problem.

function aff_add_rewrite_rules( $wp_rewrite )
{
$new_rules = array(
‘^redirect/([0-9]+)/$’ => ‘index.php?go=$matches[1]‘); //question mark ? resolves the problem

$wp_rewrite->rules = $new_rules + $wp_rewrite->rules;
}

The above rewrite rule

^redirect/([0-9]+)/$’ => ‘index.php?go=$matches[1]

simply refused …

December 22nd in Wordpress by .

Fix ->Wordpres plugin could not be activated fatal error cannot redeclare!

I have seen this error thrown up many many times while activating a wordpress plugin and the

Plugin could not be activated because it triggered a fatal error.

Fatal error: Cannot redeclare similar_posts() (previously declared in /home/pbu/public_html/blog/wp-content/plugins/xxxx/xxxx:45) in /home/pbu/public_html/blog/wp-content/plugins/x/xxxx.php on line 46

The main reason why the plugin could not be activated is …

December 22nd in Wordpress by .

Where does wordpress store htaccess rewrite rules?

If you are thinking for one second the rules are stored in .htaccess in the wordpress folder, you are totally wrong. Infact these rules are stored in mysql database in the wp_options table under rewrite_rules field.

Checkout this site for complete list of wordpress 2.x rewrite rules

Although it is common …

December 14th in Wordpress by .

Affiliate Hide v1.0 – Free WordPress plugin to Hide & Redirect Affiliate Links

A very simple and useful WordPress plugin to hide/cloak and redirect affiliate links based on custom fields. All you have to do is create a custom field `URL` in your wordpress post and specify the affiliate link there. This plugin can come in handy for gallery wordpress blogs where you …

November 24th in Wordpress by .

Fix -> Fatal error – Call to undefined function: screen_icon() in WP-Pagenavi Plugin

WordPress WP-PageNavi plugin will throw up this error in wordpress admin area if you are using older versions of wordpress and have not updated to latest one.

Fatal error: Call to undefined function: screen_icon() in html/wp-content/plugins/wp-pagenavi/pagenavi-options.php on line 109

To fix:

1. Either update your wordpress to latest version (or)

2. Download the older …

November 23rd in Wordpress by .

Display only top level parent categories in wordpress?

I have been working on a wordpress theme recently and suddenly i felt the need to show up only top level categories (parent only) and disable all subcategories.

Eventually it was so easy with wordpress using wp_list_categories function. All you have to do is set the depth=1 to show only …

April 28th in Design, Wordpress by .

Beautiful Free Web Icon Sets for Download ~Must SEE~

I was always searching for copyright free, open source icons and web graphics to use in my website. Most of them i got was authors demanding a small fee for icon usage.

I am documenting here a rare open source icon sets which are free for any usage. I believe …