- This topic has 13 replies, 2 voices, and was last updated 6 years, 9 months ago by
Tom.
-
AuthorPosts
-
March 3, 2016 at 5:39 am #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,
SimonMarch 3, 2016 at 1:03 pm #176870Tom
Lead DeveloperLead DeveloperHi 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 6 years, 11 months ago by
Tom.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 4, 2016 at 4:46 am #176993Simon
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?
March 4, 2016 at 5:34 am #177002Simon
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! π
March 4, 2016 at 11:09 am #177049Tom
Lead DeveloperLead DeveloperI 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?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 7, 2016 at 1:19 am #177522Simon
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!
March 7, 2016 at 10:25 am #177626Tom
Lead DeveloperLead DeveloperGreat!
I’ll look into the language thing as well π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 10, 2016 at 9:39 am #178300Simon
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,
SimonMarch 10, 2016 at 3:06 pm #178362Tom
Lead DeveloperLead DeveloperThis is only happening with that plugin activated?
Have you asked their support to see if they have any ideas?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 11, 2016 at 4:38 am #178455Simon
Just checked it, it’s not only happening when the plugin is activated. I have no idea why…
March 11, 2016 at 8:46 am #178542Tom
Lead DeveloperLead DeveloperCan you try #1 on this page to see if it’s another plugin?: https://generatepress.com/knowledgebase/debugging/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 19, 2016 at 4:20 pm #188005Simon
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
April 19, 2016 at 4:20 pm #188006Simon
The above Error is again related to “The Events Calendar” being activated!
April 19, 2016 at 10:31 pm #188047Tom
Lead DeveloperLead DeveloperInteresting – if you have another theme activated with The Events Calendar activated, does the issue persist? It may be a bug in their plugin.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
This reply was modified 6 years, 11 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.