Viewing 1 replies (of 1 total)
  • Thread Starter Steven Vachon

    (@prometh)

    Update. Change this:

    array_push($classes, 'current_page_parent');

    to this:

    // 'current-menu-item' added for compatibility with other plugins
    array_push($classes, 'current_page_parent', 'current-menu-item');

    If it creates a problem with your code, just use the original line.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Simple Portfolio] Fix for wp_nav_menu current css class’ is closed to new replies.