WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] How do I use WP_Query $args to get things from the em_events (2 posts)

  1. daktau
    Member
    Posted 4 months ago #

    I want to use the WP_Query which has pagination built in to retrieve events that are older then a given date.

    Can any one point me in the right direction of how to do this?

    The alternative is to collect the post ids from a sql query then feed those into WP_Query but I though there may be a way built in to the Events Manager plugin.

    Thank you

    https://wordpress.org/plugins/events-manager/

  2. philipjohn
    Member
    Posted 4 months ago #

    Hiya,

    It's recommend to use EM's own functions for this, not WP_Query.

    See http://wp-events-plugin.com/documentation/advanced-usage/

    Thanks

Reply

You must log in to post.

About this Plugin

About this Topic