• srdriggers

    (@srdriggers)


    When I click on an event in my “Events” page it goes to the single event page info. At the top of this page are arrows that allow me to navigate to the next event. The page it takes me to is not the next event on the calendar but the next event based on “published” date like the sorting used for other types of posts.

    I need to be able to navigate from one single event page to the next single event page based on start date entered in the calendar.

    Suggestions?

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    this is the way WP sorts posts out (events are custom post types). your option is to either copy single.php, rename it to single-event.php and modify as needed

    or just remove this page layout style and use pages by going to Events > Settings > Pages > Event Pages > Show as page.

    Thread Starter srdriggers

    (@srdriggers)

    Thank you for the reply. I understand that I will need to modify the single.php / single-event.php but that is where I get stuck. Exactly what would I need to do so it would go from one event to the next based on calendar date?

    Also, if I go to pages, I run into the same issue… what exactly needs to be done code wise to achieve this ?

    lazyazian

    (@lazyazian)

    I’d like to have this too. I just noticed that the “next post” and “previous posts” links are referring to “events” that I had deleted completely from the system (by emptying the “trash”).

    I don’t mind not having the next/prev links and using “Show as Page”, but I want to have comments on the Pages. I’ve enabled the theme to allow page comments, but for some reason, there’s still no comment section.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    @srdriggers one way would be to use WP_Query to find event post types and you can search by timestamp which is stored as post custom fields.

    The ones you want are _event_start_ts and _event_end_ts which are start date/time and end date/time of each event.

    @lazyazian
    that should be possible, but you need to enable comments in EM settings too, as well as on the posts you want comments to be enabled.

    lazyazian

    (@lazyazian)

    Thanks Marcus, but I enabled comments in EM settings and on the individual and recurring events.

    It’s weird. Not sure why the “Pages” still don’t have comments allowed.

    lazyazian

    (@lazyazian)

    @marcus – is there a way to remove the “next / prev post” links?

    Not sure of what to add to the single-event.php in my Child Theme. The only code currently in the file is:

    global $EM_Event;
    /* @var $EM_Event EM_Event */
    echo $EM_Event->output_single();
    agelonwl

    (@angelonwl)

    @lazyazian

    Comments:
    EM settings at Settings > Pages > Event Pages should be okay? do you have any sample link?

    Removing next/prev link:
    Make events page as Page at Settings > Pages > Event Pages > Display events as - Page

    lazyazian

    (@lazyazian)

    @agelonwl

    Thanks for the help! Unfortunately, if I change the settings to “Display events as – Page,” it removes the comments. You can see the site currently at http://www.mashupasia.com/mashups (that’s the list of events).

    It’s currently set as “Posts” because I’d prefer to have comments there versus no comments.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Events Manager] Moving from one Events Detail Page to the next one’ is closed to new replies.