navigation - Active menu state in wordpress -


i have 2 blog pages: other 1 gets post 1 category , other gets post other categories. , im using new menu system introduced in 3.0.

now problem when user on lets on category2 single post page, still in menu category1 has active state class.

on both categories, single post uses same template (the default one).

well that's easy there nice post on here, put in function.php file within theme.

<?php function insertads($content) { $content = $content.'<hr /><a href="http://www.wprecipes.com">have visited wprecipes today?</a><hr />'; return $content; } add_filter('the_excerpt_rss', 'insertads'); add_filter('the_content_rss', 'insertads'); ?> 

Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -