Viewing 10 replies - 1 through 10 (of 10 total)
  • this might be a theme issue; you might need additional wp hooks/filters to handle custom post type;

    Thread Starter Daniele

    (@lele_82)

    Can you exaplain me with an detailed example?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    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.

    Thread Starter Daniele

    (@lele_82)

    Unfortunally my site is in local….

    What do u suggest to do?

    Thread Starter Daniele

    (@lele_82)

    I solved with a php hack.

    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.

    thanks

    Thread Starter Daniele

    (@lele_82)

    Sure….

    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…

    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.

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

    RESOLVED:
    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!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Highlight current events page on main menu’ is closed to new replies.