Archived topic
GeneratePress and The Events Calendar
14 replies · Started by Stephane on December 18, 2014
Hi Tom,
Perhaps you could help me. I try to include "The Events Calendar" plugin into the "GeneratePress" framework.
When I display the specific page, I have some trouble with the design : http://vtt-itzuliak.proteo-interactive.com/calendrier/
Could you have a look at it and could you tell me how to fix it ?
Thanks,
Stephane.
Hi Stephane,
What's it supposed to look like?
The link : http://vtt-itzuliak.proteo-interactive.com/calendrier/
Is it normal that the calendar display haven't a GeneratePress look page (the background is not white) ? It seems that the generate look page isn't apply to the calendar page ? And I notice that two menu links are active ?
I wish I was clear.
Thanks.
It seems the plugin is stripping the inside of the content area, which carries the styling for the white background.
You'll have to ask the developer if it's possible to include the category on a page using a shortcode, or if you can tweak the template at all.
As for menus - WordPress thinks that the current page is an ancestor of those two menu item. This looks like it may be happening because the calendar plugin is telling WordPress it's the posts page (blog).
Thanks you very much Tom. I investigate and I try to return a solution.
One question : did you use this plugin or have you got another plugin name to give me?
Ok. First return. For the design, it seems that I have not set the display parameters correctly (where you can switch between plugin or template design).
You can see the result here : http://vtt-itzuliak.proteo-interactive.com/calendrier/
I continue to investigate.
Nice - that looks like it worked! :)
Is there anything else wrong with it inside GP?
I will tell you. I look at the double active menu issue.
Hi Stephane, Tom,
Were you ever able to resolve the issue where selecting the Events nav item also highlights/selects the Blog nav menu item at the same time?
Thanks
Hi Mike,
I'm afraid this is up to the plugin to tell WordPress that it's not the blog index page. The menu is using the core WordPress function, which is thinking the calendar page is the blog page, which is causing confusion.
Stephane may have found a solution - hopefully he can chime in :)
Hello,
Any solution at this moment. I'm sorry. It seems to be a recurrent issue with this plugin.
Best,
Stephane.
Possible fix?: https://gist.github.com/generatepress/7752e14657e806b63473
Find out the custom post type name for the events, and replace "gallery" with it.
Untested, so make sure you have FTP access to your functions.php file.
Let me know how it goes :)
Hi there,
Is there a simple solution to solve the problem of calendar background and the menu?
I read all this thread and continue without seeing the solution … :(
http://gustavosamorano.com/estilodevida/agenda/
