WordPress.org

Ready to get started?Download WordPress

Forums

current_page_item and multiple menus (2 posts)

  1. harberg
    Member
    Posted 2 years ago #

    Hello Everyone,

    So, I am trying to highlight the current page that I am on by using the current_page_item. There is a nav menu in the header and an identical nav menu in the footer. They are both dynamically built and are being called using wp_nav_menu(). The menu in the footer is a custom sidebar that has been registered in the functions.php file.

    Currently, when I use the current_page_item in my css it works perfect for the menu in the header, but not the footer. This is the issue. Why isn't the menu in the footer getting the class of current_page_item?

    Thanks for your help.

    Regards,

    Harberg

  2. popper
    Member
    Posted 2 years ago #

    Can you post a link to your blog?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.