Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

Issues with The Events Calendar

Home Forums Support Issues with The Events Calendar

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #176796
    Simon

    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

    #176870
    Tom
    Lead Developer
    Lead Developer

    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/

    • This reply was modified 4 years, 9 months ago by Tom.
    #176993
    Simon

    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?

    #177002
    Simon

    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! 🙂

    #177049
    Tom
    Lead Developer
    Lead Developer

    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?

    #177522
    Simon

    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!

    #177626
    Tom
    Lead Developer
    Lead Developer

    Great!

    I’ll look into the language thing as well 🙂

    #178300
    Simon

    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

    #178362
    Tom
    Lead Developer
    Lead Developer

    This is only happening with that plugin activated?

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

    #178455
    Simon

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

    #178542
    Tom
    Lead Developer
    Lead Developer
    #188005
    Simon

    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

    #188006
    Simon

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

    #188047
    Tom
    Lead Developer
    Lead Developer

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

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.