Events Category menu option not working

Home Forums Calendar Products Events Calendar PRO Events Category menu option not working

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1015967
    maria miranda
    Participant

    Hi!

    I’m having problems connecting the Events Category as a menu item. My website is cappellacantorum.org

    I’ve tested the Events Category menu item every time we’ve had a new update ever since the function broke about a year ago. Right now, I have a test “Events Category” menu item set up as a submenu item to “Contact Us” on the Main Menu. It should list only Singer Registrations. It just waits and waits until finally comes up with “This page cannot be displayed.”

    Why does the Events Category menu option not work anymore?

    #1016056
    Josh
    Participant

    Hey Sharon,

    Thanks for reaching out to us!

    I just tested this on my local install and was able to add an event category as a submenu item and then reviewed the front-end of the site to verify that I was able to click that item and successfully make it to the archive for that category.

    A couple of quick questions that may help us here:

    • Are you able to navigate to an event category archive if you click on the category link within a single event view? Or does that generate the same behavior as the generated when adding it to your menu.
    • Have you tried following the Testing for Conflicts procedures to ensure there isn’t a conflict with an existing plugin or theme?

    Let me know if this helps.

    Thanks!

    #1016268
    maria miranda
    Participant

    I tried just clicking on a category within an event and it doesn’t load either.

    They do work when I switch themes to the 2015 theme.

    Would you be able to look at my theme and see what’s conflicting with it?

    #1016547
    Josh
    Participant

    Hey Sharon,

    Thanks for following up with us.

    I can’t make any promises since we are limited in the amount of support we are able to provide for theme conflicts such as these, however if you would like, you can send me a link to the theme that is currently active on your site and I can see if there is a simple solution to this one for you.

    Thanks!

    #1016553
    maria miranda
    Participant

    Hi Josh!

    Here is the site that is using the calendar and having the conflict.

    -Filling Our Community with Music Since 1970-

    Here is one of the event pages.

    HOLIDAY FESTIVAL with Chorus & Brass

    #1016824
    Josh
    Participant

    Hey Sharon,

    It looks like there is a redirect loop on these archives. Try checking the theme files (particularly the functions.php file or any external functions type files that are linked to within your functions.php file) and see if your theme is registering any of it’s own taxonomies or custom post types. If so, check the slug_rewrite rules that they are being registered with to see if there is any potential duplication here against the event/category that is currently used for tribe category archives.

    Let me know if this helps.

    Thanks!

    #1016849
    maria miranda
    Participant

    Thank you, Josh! 🙂

    It turns out that this function was conflicting with it.

    /* Calendar Category List View */

    //add_action(‘parse_query’, ‘use_list_view_for_categories’, 60);

    //function use_list_view_for_categories($query) {
    // Run once
    // remove_action(‘parse_query’, ‘use_list_view_for_categories’, 60);

    // Interfere only for non-ajax Tribe category requests not already destined to be presented by list view
    // if (defined(‘DOING_AJAX’) && DOING_AJAX) return;
    // if (!isset($query->tribe_is_event_category) || !$query->tribe_is_event_category) return;
    // if (tribe_is_view(‘upcoming’)) return;

    // Obtain the query term and get a link to list view for that term
    // $main_tax_query = $query->tax_query->queries[0];
    // $term = get_term_by(‘slug’, $main_tax_query[‘terms’][0], TribeEvents::TAXONOMY);
    // $link = tribe_get_listview_link($term->term_id);

    // Try to redirect
    // wp_redirect($link);
    // exit();
    //}

    #1017183
    Josh
    Participant

    Hey Sharon,

    Awesome! Glad you were able to find the conflicting code!

    I’ll go ahead and close this thread for now. If you have any further questions, please don’t hesitate to open a new thread.

    Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Events Category menu option not working’ is closed to new replies.