Archived topic
The Events Calendar and GeneratePress Premium Header
11 replies · Started by Chris on March 1, 2017
Hi Tom,
I'm having an issue where when using modern tribe's The Events Calendar using 'Default Page Template' so that I can use sidebars, the GeneratePress Premium header is not displaying. It works fine if I switch to using 'Default Events Template' although with a small unwanted gap between the main site header and the full width image I'm using in the GeneratePress header.
Any ideas how to fix?
Thanks
Chris
Hi Chris,
Are you able to provide a link where it's not working so we can take a look?
Thanks.
Here's a demo version:
http://test.karlanorton.co.nz/wordpress/performance/lunchtime-concert/
So basically you have a page header not showing on that page?
I'm not familiar with the plugin but ‘Default Events Template’ doesn't include sidebars I assume? I can probably fix that unwanted gap easily.
Let me know :)
Yep- you got it! No sidebars for that template...
As a curiosity, how do you fix the gap?
ahh I think see what's happening. That's a blog page and Wordpress ignores all meta boxes on index pages.
Try adding it in Blog > Page Header Image/content.
https://docs.generatepress.com/article/blog-page-header/
Gaps can usually be fixed with few lines of CSS.
Let me know if this works :)
No Luck I'm afraid...
http://test.karlanorton.co.nz/wordpress/performance/lunchtime-concert/
Is that an actual page you can edit in the back-end?
If so, are all of your options saved inside the Page Header meta box still?
Hi Tom,
The plug-in creates a custom-post called tribe_events
In the back-end, it functions very similarly to a blog post.
Yes - for that example, the header meta info is still present. I have tried another example without it - same result.
Cheers
Chris
Any chance you can email me temporary admin login details and a link to the problem page?: https://generatepress.com/contact/
Sure - done!
Been playing with this.
It seems The Events Calendar doesn't pull in post meta from the post you're creating.
While testing I tried to dump the global $post variable into the page, and the ID came back as 0. There must be something blocking it inside of their plugin.
I'll make a note of it for further testing, but currently it seems their default template isn't compatible with any post meta (sidebars, footer widgets, disable elements etc..).