Viewing 6 replies - 1 through 6 (of 6 total)
  • Barry

    (@barryhughes-1)

    Hi Ramon,

    I’m sorry you are experiencing difficulties. I don’t want to make any guesses as to what is happening here though, so can I ask you to share your code (ideally, use a service like Pastebin or Gist rather than posting it directly).

    Thanks!

    Thread Starter ramon fincken

    (@ramon-fincken)

    http://pastebin.com/A2r3uB0x

    Note: feel free to remove the meta stuff, this was working code in V2.x

    Thread Starter ramon fincken

    (@ramon-fincken)

    I can even give you FTP and WP access to our development site if needed.

    Barry

    (@barryhughes-1)

    No need for FTP/WP access 🙂

    I suspect you need to rework the taxonomy section of the query. It basically follows the same pattern as with WP_Query:

    http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters

    Thread Starter ramon fincken

    (@ramon-fincken)

    Sure thing 🙂

    Yet even if I strip the incorrect metaquery it fails to function correctly.
    See -> http://pastebin.com/ia8csH5s

    this should follow all WP rules, if you have any example that queries future events WITH a specific event category I’d really love that 🙂

    Barry

    (@barryhughes-1)

    OK, but you are still doing this:

    'tax_query' => array('taxonomy' => 'tribe_events_cat','field' => 'slug', 'terms' => $term->slug)

    Important Note: tax_query takes an array of tax query arguments arrays (it takes an array of arrays)

    We’d love to help more, but I’m afraid the amount of support we can provide for custom coding is especially limited here on the free support forum.

    Good luck!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘tribe_get_events stopped working (shows entries from all categories)’ is closed to new replies.