Calendar view is bugged (stuck on mobile layout)
-
Hey! What is happening with the plugin? Previously, we had 4 arguments are required, 3 given error, that we fixed with this code block:
add_filter( 'gettext', function( $translation, $text, $domain ) {
if ( $domain === 'the-events-calendar' && $text === '%1$s, %2$s' ) {
return '%1$s, %2$s';
}
return $translation;
}, 10, 3 );
add_filter( 'ngettext', function( $translation, $single, $plural, $number, $domain ) {
if ( $domain === 'the-events-calendar'
&& $single === '%1$s %2$s'
&& $plural === '%1$s %2$s'
) {
return '%1$s %2$s';
}
return $translation;
}, 10, 5 );Now that you released a fix for it, we have a new problem.
The screen is simply stuck at mobile view, however, if i resize my window to go to mobile view, and then come back to web view, layout fixes. But once i refresh the page, i see mobile layout in desktop screen size again. What have you done now?
What have i tried:
Freshly re-installing plugin, turning off recently installed plugins, changing theme, trying to expand this section with css.
Website in question – https://www.davinesferma.lt/renginiai/menesis
update: I have added test event, and now day and list of events shows correct desktop layout, however, if try to enter month list, it still gives mobile layout
You must be logged in to reply to this topic.