Custom Query on Event Month and Year

Home Forums Calendar Products Events Calendar PRO Custom Query on Event Month and Year

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #206653
    umnmch
    Participant

    Hello,
    I’m trying to do a custom wp_query with our Tribe events and need a little help. I want to return results by month, so I’m thinking I’ll need to do a meta_query with two sub_queries — one for month, one for year. I *think* I can figure out the syntax, but I’m just not sure of the meta_keys.
    I was looking here — http://docs.tri.be/Events-Calendar/source-function-tribe_get_start_date.html#13-45 — and saw “_EventStartDate.” Is that the right meta_key?
    Any other insight would be appreciated, too.

    Thanks!

    #206746
    umnmch
    Participant

    After messing with the query a bit and trying it out with this meta_key, I can confirm that it does work. So _EventStartDate was correct.

    #983302
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Custom Query on Event Month and Year’ is closed to new replies.