• Resolved Japanese Carlos

    (@dailyeventures)


    Hi, I successfully changed the desktop default view to month.

    However, the default view for tablets and mobile is still list. I want that to be month as well, but I can’t find any option to change it under settings.

    Can you tell me what I have to do to change the default view to month for mobile?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there,

    Thank you for reaching out.
    Our apologies for this glitch as it is a known bug.

    The good news is that we will release a fix for it in December and report back here when we do.

    In the meantime, if you are comfortable with snippets, here’s a workaround

    add_filter( 'tribe_events_views_v2_bootstrap_view_slug', 'xxx_events_views_v2_bootstrap_view_slug', 900, 3 );
    function xxx_events_views_v2_bootstrap_view_slug( $view_slug, $context, $query ) {
    
        $view_slug = wp_is_mobile() ? 'month' : $view_slug;
        return $view_slug;
    }

    Cheers,
    Geoff

    Thread Starter Japanese Carlos

    (@dailyeventures)

    Thank you so much for the fast reply and for this plugin.

    I added the snippet and it works perfectly.

    Thank you again.

    Hi @dailyeventures

    We just released an update that should allow you to remove that custom snippet that Geoff provided.

    Please update and let us know if it’s working properly.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Changing Default Mobile View to Month’ is closed to new replies.