• Resolved elsiesantos

    (@elsiesantos)


    Hello! I have a problem that i can’t resolve…
    in my site i have a menu with current_page_item, but i want put this attribute in page when one subpage is active(in use). what can i do?
    thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter elsiesantos

    (@elsiesantos)

    resolved

    <li class=”<?php if (is_home()) { echo “current_page_item”; } ?>”>“>Home
    <li class=”<?php if (is_home()) { echo “current_page_parent”; } ?>”>

Viewing 1 replies (of 1 total)

The topic ‘current_page_item in a subpages’ is closed to new replies.