Events Calendar clobbering existing custom taxonomy

Home Forums Calendar Products Events Calendar PRO Events Calendar clobbering existing custom taxonomy

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #713736
    tobek
    Participant

    Hi there – I already have a custom taxonomies on my site with the slugs “event” and “venue”, but the plugin seems to be rewriting the query and not displaying my regular posts that have these terms added to them. I fixed the events term by changing the plugin’s events slug from “event” to “events” in the plugin settings, so now I can see a calendar event e.g. at http://brooklyndragarchive.org/events/razor-5000-the-real-new-york-dolls/, and posts tagged with the event taxonomy e.g. at http://brooklyndragarchive.org/event/bushwig-festival-2013/

    However, I can’t fix the venue term listing. For instance, this page should show posts tagged with this custom term: http://brooklyndragarchive.org/venue/secret-project-robot/. When I look at the WP Query object, I see various tribe_events stuff but not the WP_Tax_Query Object I’m expecting. As a result, the query returns no posts.

    Pastebin of working WP_Query object when I hit my custom taxonomy “event” at /event/event-slug: http://pastebin.com/XQgExzQN
    Pastebin of not working WP_Query object for what *should* be my custom taxonomy “venue” at /venue/venue-slug: http://pastebin.com/g2zeMjPx

    Deactivating the Events Calendar plugin fixes this problem.

    Is there any workaround for this? I’m a WordPress developer and comfortable with any amount of custom tweaking, but didn’t want to go off on a treasure hunt for a fix for this if you guys already have a good way to do this.

    Thanks!

    #717078
    Casey
    Participant

    tobek,
    Thanks for getting in touch! It looks like your Venue taxonomy slug, is conflicting with our Venue Custom Post Type slug. You have a couple of options here:

    1. Change the single slug of your custom taxonomy to be something besides ‘venue’
    2. Use the ‘tribe_venue_label_singular’ and ‘tribe_venue_label_plural’ filters to change the Venue Slugs to something else. (See item #3 on this post for an example of how to use it)

    Give one of those a try and let me know if that resolves the issue for you. Thanks! 🙂

    -Casey-

    #726890
    tobek
    Participant

    Thanks, I went with #2 and that did it!

    It didn’t work at first and then after some fiddling it did – I think re-saving permalinks is necessary.

    Thanks!

    #730317
    Casey
    Participant

    Great! Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.

    By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://m.tri.be/lo

    Thanks in advance. 🙂

    Cheers,
    Casey

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Events Calendar clobbering existing custom taxonomy’ is closed to new replies.