Home › Forums › Calendar Products › Events Calendar PRO › Events Calendar clobbering existing custom taxonomy
- This topic has 3 replies, 2 voices, and was last updated 9 years, 8 months ago by Casey.
-
AuthorPosts
-
August 31, 2014 at 9:25 am #713736tobekParticipant
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/g2zeMjPxDeactivating 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!
September 2, 2014 at 6:20 am #717078CaseyParticipanttobek,
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:- Change the single slug of your custom taxonomy to be something besides ‘venue’
- 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-
September 6, 2014 at 6:01 am #726890tobekParticipantThanks, 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!
September 8, 2014 at 5:46 am #730317CaseyParticipantGreat! 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 -
AuthorPosts
- The topic ‘Events Calendar clobbering existing custom taxonomy’ is closed to new replies.