Help Desk

Mobile Default not working

  • Posts: 2 Topics: 5
    | Permalink

    I am setting mobile default to ‘list’ and it still shows up as ‘month’. Any thoughts?

    This transition to Events Calendar Pro because the two main reasons we purchased the license were for : list default on mobile (while maintaining month view on desktop) AND recurring events (which we are having huge issues with and were told to contact Yoast).

    Posts: 6521 Topics: 9
    | Permalink

    Hey Tamara,

    Thanks for getting in touch with us and sorry to hear about the issue with Yoast 🙁

    Unfortunately I’m mostly sure this is also a conflict with Yoast as well. We have a logged ticket to fix this and the plan is to include this fix in the upcoming maintenance release (take a look to our release schedule).

    For now this can be temporarily fixed by placing this snippet in your theme’s (or child theme’s) functions.php file:

    /* Tribe, temp fix for Yoast conflict for default mobile view */
    add_filter( 'wpseo_canonical', function( $canonical_url ) {
        global $wp_query;
        return ! empty( $wp_query->tribe_is_event_query ) && wp_is_mobile()
            ? Tribe__Events__Main::instance()->getLink( tribe_get_mobile_default_view() )
            : $canonical_url;
    } );

    Please let me know if that helps for now,

    Posts: 2 Topics: 5
    | Permalink

    Thank you! Wow, you all must get this a lot since so many people use Yoast.

    Posts: 6521 Topics: 9
    | Permalink

    Thanks for confirming Tamara!

    Wow, you all must get this a lot since so many people use Yoast.

    Yeah, I thought the same when I found the bug report. But there are not many occurrences of the bug logged, so that’s good!

    Anyway, stocked to hear this helps for now 🙂

    I’ll leave the thread in ‘Pending Fix’ status so you’ll get a follow-up once this is fixed + released.


    Posts: 4031 Topics: 6
    | Permalink

    Hi Tamara!

    Just wanted to share with you that a new maintenance release (for the Week of 5 March 2018) is out, including a fix for this issue 🙂

    Find out more about this release →

    Please update the plugins and let us know if the fix works for your site.


You must be logged in and hold an active support license to create new topics in the help desk. Please visit our products store to purchase a license.

Subscribe to Updates