Jump to content
php.lv forumi

Current


martinsdudeks

Recommended Posts

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...