- This topic has 13 replies, 2 voices, and was last updated 8 years ago by Tom.
-
AuthorPosts
-
March 3, 2016 at 5:39 am #176796Simon
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 #176870TomLead 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 8 years, 1 month ago by Tom.
March 4, 2016 at 4:46 am #176993SimonAfter 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 #177002SimonIs 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 #177049TomLead 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?
March 7, 2016 at 1:19 am #177522SimonThanks 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 #177626TomLead DeveloperLead DeveloperGreat!
I’ll look into the language thing as well π
March 10, 2016 at 9:39 am #178300SimonHey 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 #178362TomLead DeveloperLead DeveloperThis is only happening with that plugin activated?
Have you asked their support to see if they have any ideas?
March 11, 2016 at 4:38 am #178455SimonJust checked it, it’s not only happening when the plugin is activated. I have no idea why…
March 11, 2016 at 8:46 am #178542TomLead DeveloperLead DeveloperCan you try #1 on this page to see if it’s another plugin?: https://generatepress.com/knowledgebase/debugging/
April 19, 2016 at 4:20 pm #188005SimonHey 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 #188006SimonThe above Error is again related to “The Events Calendar” being activated!
April 19, 2016 at 10:31 pm #188047TomLead 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.
-
AuthorPosts
- You must be logged in to reply to this topic.