Numberposts in Event Search shortcode not working

WordPress Event Management, Calendars & Registration Forums Report A Bug Numberposts in Event Search shortcode not working

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 6 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28318

    I’m working on a site for a client here and can’t get the search page to display a different number of posts as a default.

    This is the shortcode I’m using:
    [event_search event_category=”bmc-courses” numberposts=”2″ event_start_after=”now” filters=”date,venue,country”]

    I’m also wondering if it’s possible to add a filter that creates a dropdown of terms for a custom taxonomy that has been applied to the events.

    B. Cohen
    #28319

    Hi Basha,

    You will need to use posts_per_page rather than numberposts. The event search shortcode defaults that to 10.

    Unfortunately, custom taxonomies are not supported. Though I will consider this for a future release.

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 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.