[event_map event_start_after="now"] has 8 day window

WordPress Event Management, Calendars & Registration Forums Report A Bug [event_map event_start_after="now"] has 8 day window

This topic contains 5 replies, has 2 voices, and was last updated by  Stephen Harris 9 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15964

    Hello Stephen,

    I am using [event_map event_start_after=”now”] and only venues with events starting within the next 8 days are displayed on the event map.

    Is this how it should work? Am I doing something wrong?

    Thanks, David

    David Nathan
    #15973

    Or could we also use [event_map showpastevents=false]?

    David

    David Nathan
    #15974

    Hi David,

    The event map limits the number of returned events to 10. Keep in mind that of those 10 events, only those with venues will be visible. You can use the numberposts attribute to adjust this.

    Stephen Harris
    #15977

    Hello Stephen,

    Thanks for your prompt response with a solution.

    I have set numberposts=100 and it works fine.

    Cheers,

    David

    David Nathan
    #15979

    Hello Stephen,

    Perhaps the effect of the numberposts attribute could be added to the event_map documentation?

    Thanks,

    David

    David Nathan
    #15981

    It’s implicitly referenced here:

    You can think of this as the event list shortcode, but in map form. It takes the same argument as as the event list shortcode and venue map shortcode.

    The actual attributes aren’t referenced, because there are so many of them (including all the default WP_Query attributes, of which numberposts is one).

    That said, the docs should be mention that the default value of numberposts is set to 10. (duly updated).

    Stephen Harris
Viewing 6 posts - 1 through 6 (of 6 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.