Site logo

Archived topic

Issues with The Events Calendar

13 replies · Started by Anonymous on March 3, 2016

Viewing posts 1–14 of 14

Hey guys,

we've got an issue with the events calendar plugin. When the plugin is activated, we are no longer able to customize the theme. Any ideas?

This is our events page: http://lechfelder-hasenpower.de/?post_type=tribe_events

Furthermore it would be great hiding the sidebar on the events page, is that possible?

Thanks a lot and greetings from Germany,
Simon

Hi Simon,

So when you go into "Appearance > Customize", nothing happens? Or?

To change the sidebar, try this:

add_filter( 'generate_sidebar_layout', 'tu_custom_events_sidebar_layout' );
function tu_custom_events_sidebar_layout( $layout ) {
 	// If we are on a tribe events page, set the sidebar
 	if ( 'tribe_events' == get_post_type() || is_post_type_archive( 'tribe_events' ) ) {
 	 	return 'no-sidebar';
        }

 	// Or else, set the regular layout
 	return $layout;

 }

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

After updating Wordpress and the theme (and switching the language to English), customizing now seems to work. Sometimes I now have troubles creating new posts, when only the "Text" and not the "Visual" mode can be shown.

Removing the sidebar worked. But there is an "empty sidebar" still displayed, can I only show the calendar content and no sidebar, as well?

Is it possible that not being able to customize the theme and switching between the "text" and "visual" mode when writing a post, is related to the site's language (when The Events Calendar is active)?

The sidebar is back again as well. At first it worked, but now no longer...

Still thanks so far! :)

I just adjusted the code above to deal with the sidebar.

As for your other question - I can't see a reason why something like the language could stop basis WP functionality like that.

Have you tried using the a default Twenty-something WP theme with only Tribe Events activated?

Thanks so much for the code! Issue solved! :)

With the default themes everything works. But since it's no problem for me, I'm gonna continue working with English as the site's language!

Great!

I'll look into the language thing as well :)

Hey Tom, it's me again...

At first: We changed the domain of our website: http://www.spvgg-lagerlechfeld.de

When The Events Calendar is activated, managing widgets in customizer is not working. Furthermore the widgets I added (mainly custom menus) are always disappearing after a while. Very very confusing.

If you want you can also log in the my WP-dashboard?!?!

Best regards,
Simon

This is only happening with that plugin activated?

Have you asked their support to see if they have any ideas?

Just checked it, it's not only happening when the plugin is activated. I have no idea why...

Hey Tom,

I'm not sure, but I think since I updated GP I have the "language issue" from the 7th of march again. When the language of WP is "German" customizing is not possible (the loading sign does not disappear), but when I switch the language to "English" everything seems to work. Any ideas?

Thank you!

Simon

The above Error is again related to "The Events Calendar" being activated!

Interesting - if you have another theme activated with The Events Calendar activated, does the issue persist? It may be a bug in their plugin.

This archived topic is closed to new replies.