WordPress.org

Forums

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

  1. daktau
    Member
    Posted 1 year 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. Philip John
    Member
    Posted 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic