• I’ve created a page for the series table of contents with the slug “series-toc”, which I’ve also entered into the plugin settings. The page itself displays correctly.

    This page was added to the top menu (proper WordPress menu) of the site as a page. This menu is displayed in header.php using wp_nav_menu().

    When any other page in the menu is visited, it’s menu link is assigned the classes “current-menu-item” and “current_page_item”, but when the TOC page is visited, neither of these classes is assigned.

    I looked at the plugin code and thought there might be a conflict with the slug, so I changed it to “series-list”, but that didn’t make a difference.

    The problem can be seen at http://www.ronitbaras.com/series-toc/.

    https://wordpress.org/plugins/organize-series/

  • The topic ‘current-menu-item class not assigned to TOC page’ is closed to new replies.