SERP: show no past events

This topic contains 4 replies, has 2 voices, and was last updated by  Patrick Merck 8 years, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25447

    I used:

    [event_search event_start_after=”now”]

    but the SERP also shows events from the past…
    What shortcode should I use instead?

    Patrick Merck
    #25459

    Are you allowing users to select a date range? If so try,

     [event_search showpastevents=false]
    
    Stephen Harris
    #25469

    Thank you Stephen,

    but it doesnt work:
    http://www.gesundes-kinzigtal.de/angebot
    (try e.g. “aqua” as search term and on SERP there are also events listed from october)

    Code:
    [event_search showpastevents=false posts_per_page=”3″]
    (I’ve also tried [event_search showpastevents=false] with the same result.

    Patrick Merck
    #25477

    Sorry Bastian,

    Try

     [event_search showpastevents=0]
    

    That should work. Alternatively, there is a setting in Settings > Event Organiser > General – but it that will affect more than just the SERP.

    Stephen Harris
    #25480

    Perfect!
    Thank you Stephen

    Patrick Merck
Viewing 5 posts - 1 through 5 (of 5 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.