Events Calendar Again Breaks WordPress Tags

Home Forums Calendar Products Events Calendar PRO Events Calendar Again Breaks WordPress Tags

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1320519
    Patricia Pointer
    Participant

    I’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:

    2013: https://theeventscalendar.com/support/forums/topic/the-events-calendar-breaks-the-default-wordpress-tags-system/

    2015: https://theeventscalendar.com/support/forums/topic/events-calendar-breaks-tag-archive/

    #1321188
    Andras
    Keymaster

    Hello 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,
    Andras

    #1321427
    Patricia Pointer
    Participant

    Thank 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?

    #1322094
    Andras
    Keymaster

    Patricia,

    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

    #1322198
    Patricia Pointer
    Participant

    Unfortunately 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.

    #1322674
    Andras
    Keymaster

    Hi 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,
    Andras

    #1322685
    Patricia Pointer
    Participant

    Thank 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.

    #1322707
    Andras
    Keymaster

    Just checking: isn’t that because of the extra code I shared with you earlier?

    A.

    #1322815
    Patricia Pointer
    Participant

    Ah! Yes. Yes it is. I’ve removed the code from functions.php and the tagging option reappears.

    #1323221
    Andras
    Keymaster

    Cool. 🙂

    I still don’t have anything from my side.

    Let me know if you have any news.

    Andras

    #1333508
    Support Droid
    Keymaster

    Hey 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

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Events Calendar Again Breaks WordPress Tags’ is closed to new replies.