Events Manager
[resolved] Highlight current events page on main menu (11 posts)

  1. Daniele
    Posted 3 years ago #


    i have an events page on main menu named 'News'. If i visit this page, it is highlighted correctly, but if i open an event link on this parent page, this last turn of the highlight on main menu...

    Some one can help me?


  2. agelonwl
    Posted 3 years ago #

    this might be a theme issue; you might need additional wp hooks/filters to handle custom post type;

  3. Daniele
    Posted 3 years ago #

    Can you exaplain me with an detailed example?

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    a link may help us understand the specific issue more, but chances are you need to hire someone to add this functionality into your theme or maybe even add some PHP to get this to work.

    Because events aren't actual pages or children of your news page, your menu has no way of knowing it is a submenu item of 'news' and highlighting it.

  5. Daniele
    Posted 3 years ago #

    Unfortunally my site is in local....

    What do u suggest to do?

  6. Daniele
    Posted 3 years ago #

    I solved with a php hack.

  7. agelonwl
    Posted 3 years ago #

    glad it's working now; however, you might want to share some snippet on how you make it worked for the benefit of the community.


  8. Daniele
    Posted 3 years ago #


    i check if in the url there is a substring like 'news' (parent events page) ... if yes, i take the ss-nav-menu-item-x where x is the number of menu item and force it with css to become highlighted... obviously it not consider different events of different categories...

  9. emeraldryan
    Posted 3 years ago #

    With the twentytwelve theme I can see no menu highlighting when I click on an event category that has been added to the main menu.

    The problem seems to be that the class current-menu-item is not added to the list elements for category events in the main menus.

  10. hristo5322
    Posted 3 years ago #

    I have exactly the same problem like emeraldryan ... I've read all the internet ( :D ) and no solution worked for me. Oh, you great programmers, pleace solve this issue for us both. Make our life easyer! Pleace!

  11. hristo5322
    Posted 3 years ago #

    The problem was in the plugins settings ...
    To fix this problem go to:
    Events(left Admin Sidebar) -> Settings -> Pages -> Event Categories
    And set "Override with Formats?" to NO

    Thats it ... I hope this information to be useful for others, and save them a lot of time, which they coud use for a walk, drinking beer and whatever they want. ;) Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.