• Resolved rmz65

    (@rmz65)


    This issue consists of two items actually.
    Firstly I don’t see a “previous” or “next” option for events. There is a
    #_CATEGORYPASTEVENTS and #_CATEGORYNEXTEVENTS as well as for tags and locations, but a general #_PASTEVENTS or #_NEXTEVENTS seems to be missing.
    This would make it possible to have a “next event” link on the detail page, which makes it easy for a user to scroll through the events.

    Lacking this functionality I decided to do the next best thing, and that is to have a sidebar with all future events next to the detail information.
    To do this I have to insert a table, which works fine.
    At least as long as I use [events_list limit=”10″]. However this gives me too much info for the sidebar, I only need the name of the event and maybe a small image.
    When I try something like [events_list limit=”10″]#_EVENTIMAGE{100,0}[/events_list] it show 10 images of the current event you’re looking at, it doesn’t seem to retrieve the entire list.
    The same goes for events_list_grouped.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    One reason We don’t add “Next” and “Previous” on Single Events page is because Events are arranged based on Event Start-Date. Usually Next and Previous only works on Post that are based on their published date only.

    If you’re on the Events List Page, A pagination of events would show and when you’re using shortcode and add attribute pagination="1"

    The code below would limit to 10 events per page and will show a pagination.

    [events_list limit="10" pagination="1"]
    #_EVENTIMAGE{100,0}
    [/events_list]
    Thread Starter rmz65

    (@rmz65)

    I’m not sure I completely understand the reasoning here. If it’s true what you’re saying that doesn’t make much sense. A publication date is for an event useless, unlike an article. The only date that is useful for events is the event date.
    Also, how do the other shortcodes work (#_CATEGORYPASTEVENTS etc.), do they also work on published date?

    The pagination option doesn’t work, I’m talking about the normal template in the settings page for a single event, I cannot add pagination to that. I’m not talking about the Events List Page.

    Thanks for the great effort, if you have a solution for the second part of my question I would appreciate that.

    BTW, I made a new support entry for the previous/next issue. Ignore at will ??

    Hello,

    Events are WP Custom Post Types. For all WP Custom Post Types, Everything is required to have a “Publish Date”, This is a core function of WP. As for “Events” this is not used all the time. The Sorting of Events is based on “Events Start Date” or “Event End Date”. (ie: You could publish an Event Today April 24, 2020 but the Event would be on May 1, 2020)

    Since those features (Single Event Paginations ) are currently not available, You could always do those by doing some custom coding: https://wp-events-plugin.com/tutorials/create-a-custom-placeholder-for-event-formatting/

    As for your question about placeholder “#_CATEGORYPASTEVENTS”, This placeholder will show a list of all past events with this category. (This is still based on the Event Start Date) More information about placeholders can be found here: https://wp-events-plugin.com/documentation/placeholders/ I would suggest testing the placeholders first hand to see on how they works.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘events_list formatting error’ is closed to new replies.