martinsdudeks Posted April 5, 2011 Report Share Posted April 5, 2011 sveiki vai akds var palidzet sakara ar wordpress menu,viss parejais darbojas lapas pievieno viss ir ka vajag bet nenorada lapu kas ir aktiva ''CURRENT''! pirmajai galvenajaj lapai tas darbojas bet parejam kad parsledzas tas ir neaktivs! <li<?php if(is_home()) {echo " class=\"current\"";} else {echo " class=\"page_item\"";} ?>><a href="<?php echo get_settings('home'); ?>/">HOMEPAGE</a></li> <?php wp_list_pages('title_li='); ?> paldies,ceru uz atsaucibu! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.