WordPress.org

Support

Support » Themes and Templates » Menu not highlighted in custom post type archive pagination

Menu not highlighted in custom post type archive pagination

  • TC.K
    Participant

    @wp_dummy

    Hi,
    I add a custom post type archive link to the wp_nav_menu to display the corresponding posts. And in the first page of the that archive page, the menu will get highlighted, meaning that the current-menu-item has been added to the menu class.

    But the problems, when I goes to the second page of that archive, the menu stop get highlighted, and when i check on the source file, the current-menu-item was not added to the menu class.

    What is going wrong??

  • The topic ‘Menu not highlighted in custom post type archive pagination’ is closed to new replies.