WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
When viewing single event my posts page selected as parent (4 posts)

  1. robbinjo
    Member
    Posted 2 years ago #

    I've got the permalinks working for events manager. The events page is called "Agenda". Only problem now is when I open a single event the highlighted parent page is my default blog page instead of the "Agenda" page. I can't find out how to fix this. How can I set my "Agenda" page as the parent of my events?

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    not sure I understand what you mean by posts page

  3. robbinjo
    Member
    Posted 2 years ago #

    I tried to explain it in this image: link to image

    As you can see in the first screenshot the page that is highlighted is "Agenda" and the content is the list view of the event manager. This is correct.

    In the second screenshot you see a single event shown. The highlighted page is "Vacatures". This should be "Agenda" instead, because the single event is a child of "Agenda". So the wrong page is highlighted.

    The "Vacatures" page is setup as the "posts page" in "settings -> reading" in wordpress (this is the last screenshot). Also the template in which the single event is shown is the same as the one used by the "Vacature" page (blog page).

    The site i'm working on is installed in Dutch. So I hope the images make everything clear for you.

    My question is: I want the single event page to be shown as a child of "Agenda" and preferably without the sidebar.

    Thanks in advance for the effort and your time :)

    Robbin

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    ok i think I see what you mean.

    Since events are custom posts, they don't belong as a child of a page. One thing you could do to prevent the default nav link highlighting is settings events to show as pages in Settings > Pages > Events Page.

    To get that to highlight, you probably have to edit the theme itself and highlight the link if the page is_single() and $post->type == EM_POST_TYPE_EVENT

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic