Monthly Archives: August 2010

WordPress disable parent menu using jquery

<script language=javascript> jQuery(“#menu-firstmenu li:has(ul.sub-menu)”).hover(function () { jQuery(this).children(“a”).click(function () { return false; }); }); </script> 

Posted in jquery, WordPress | Tagged , , | 7 Comments

WordPress Posts Counter Widget

I have created a small widget to show total no of posts on your blog.You just need to copy this code and save the file in plugins folder and activate plugin. After that you can drag and drop widget in … Continue reading

Posted in WordPress | Tagged , | 13 Comments

Add read more link in excerpt

By default wordpress adds [..] after every excerpt.I have created a function to remove this sign add your own text. You just need to add this in your functions.php file add_filter(‘wp_trim_excerpt’, custom_excerpt); function custom_excerpt($text) { $text = str_replace(‘[…]’, ‘<a href=”‘ … Continue reading

Posted in WordPress | Tagged , | Leave a comment