Home › Forums › Calendar Products › Events Calendar PRO › Events Calendar Again Breaks WordPress Tags
- This topic has 11 replies, 2 voices, and was last updated 8 years, 10 months ago by
Patricia Pointer.
-
AuthorPosts
-
July 13, 2017 at 7:05 am #1320519
Patricia Pointer
ParticipantI’ve deactivated all of my optional plugins and installed and activated the suggested theme but tags are still broken whenever the events calendar is activated. I see that this has been an issue before but the fixes don’t work for us:
2015: https://theeventscalendar.com/support/forums/topic/events-calendar-breaks-tag-archive/
July 14, 2017 at 6:55 am #1321188Andras
KeymasterHello Patricia,
Thanks for going Pro and welcome to the forums!
I’m really sorry about this issue with the tags!
I tested this on my local site and so far I haven’t been able to recreate it. This is what I did:
- create a couple of tags for posts
- create a couple of posts with different tags assigned
- view tag archives on the front-end (e.g. https://domain.com/tag/coding/)
All showed up properly.
This is not known as a recent issue, nonetheless I would recommend you to update the calendar plugins to the latest version. We have just pushed out a maintenance release this week.
Secondly, go to Settings > Permalinks and re-save them so they are refreshed. Give it a try now.
If you are still having the issue, then please share with me a direct link to the page where this can be seen and share with me some more details how it exactly breaks the site. I’ll do my best to help you fix it.
Cheers,
AndrasJuly 14, 2017 at 12:00 pm #1321427Patricia Pointer
ParticipantThank you for your rapid response.
I updated to the latest version and re-saved the permalinks but that didn’t help. However, I see now that it’s a more complicated issue. It isn’t breaking all tags, just tags to non-posts (and some of our tags only display non-posts). Activating the Events plugin stops our tagged pages and custom pages from displaying. (Turning off all of the other plugins also made them stop displaying.)
We rely pretty heavily on tags for all of our page types. We use Post Tags and Categories for Pages (https://wordpress.org/plugins/post-tags-and-categories-for-pages/) as well as WordPress Creation Kit (https://www.cozmoslabs.com/wck-custom-fields-custom-post-types-plugin/) to create our custom page types. It looks like however they permit tags on non-posts stops working with however this plugin handles its tags.
We don’t actually intend on tagging events, though. Is it possible for us to turn that part off?
July 17, 2017 at 6:41 am #1322094Andras
KeymasterPatricia,
You can try something like this to deactivate the tag usage of Events.
function myprefix_unregister_event_tags() { unregister_taxonomy_for_object_type( 'post_tag', 'tribe_events' ); } add_action( 'init', 'myprefix_unregister_event_tags' );Does this make any difference?
Andras
July 17, 2017 at 10:53 am #1322198Patricia Pointer
ParticipantUnfortunately that did not fix the problem. I also went into the plugin code and directly commented out lines that would register or handle a post_tag in any way but it didn’t work. It’s weird. Custom pages and custom taxonomies are viewable, events and event categories are viewable, but tag archives only display posts, not custom page types.
July 18, 2017 at 8:26 am #1322674Andras
KeymasterHi Patricia,
Sorry to hear that didn’t help.
I’m not quite sure what could cause this. I will try to check if anyone in the team has an idea about this. This might take some time though. The challenge is that the 2 plugins you mentioned above might be coded differently vs. the WordPress guidelines, for which we might not be able to provide compatibility.
In the meantime I would recommend you to get in touch with the other plugins’ developers’ to see if they have seen a similar issue / conflict with other plugins and either have a solution or can point in a direction where we could look.
Thanks and cheers,
AndrasJuly 18, 2017 at 8:42 am #1322685Patricia Pointer
ParticipantThank you. We’ve installed the plugin on another WordPress site and are trying to configure it there without the conflicts. It is working much better. I’ve noticed that the original, extra-plugin enabled site doesn’t actually allow you to tag events – that portion of the edit screen just doesn’t appear.
The 2 plugins we use haven’t conflicted with other plugins yet (or each other) but I can investigate.
July 18, 2017 at 9:33 am #1322707Andras
KeymasterJust checking: isn’t that because of the extra code I shared with you earlier?
A.
July 18, 2017 at 10:29 am #1322815Patricia Pointer
ParticipantAh! Yes. Yes it is. I’ve removed the code from functions.php and the tagging option reappears.
July 19, 2017 at 6:20 am #1323221Andras
KeymasterCool. 🙂
I still don’t have anything from my side.
Let me know if you have any news.
Andras
August 10, 2017 at 9:35 am #1333508Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Events Calendar Again Breaks WordPress Tags’ is closed to new replies.
