Archived topic
using a full width section below sections with sidebar
5 replies · Started by Marjon Tas on October 15, 2018
Hi,
I am looking for a solution for the next situation. I build a website with generatepress and gp-premium. I used a codesnippet to use sections ánd right and optional a left sidebar. This works fine.
But on this website is the wish to add an optional extra full width section before the footer. Like this (th sections 'screenshots' or 'associatied products') . https://www.dlubal.com/en/products/rfem-and-rstab-add-on-modules/reinforced-concrete-structures.
I tried the plugin: WP247 GeneratePress Pre-Footer Widgets. This works, but, the problem is to give the client the opportunity to set it on or off and fill it according to the page. Is there a solution that you can think of? Without a big change in the code of gp-premium?
Thanks a lot for helping,
Best regards,
Marjon
Hi there,
You can try using one the hooks before the footer/footer widget:
https://docs.generatepress.com/article/hooks-visual-guide/
And if you are using Hooks Elements, you can set to display or hide using the Display Rules:
https://docs.generatepress.com/article/hooks-element-overview/
Not quite an on and off switch but that's the closest I can think of.
Let me know if this helps :)
Hi Leo,
Great! This works and is very flexible. Didn't know this option yet, so many thanks for pointing me out!
The possibilities of GP-premium astonish me again and again. Big compliment and many thanks!
Best regards,
Marjon
This is new in GP Premium 1.7 :)
See more changes here:
https://generatepress.com/forums/topic/gpp-1-7-introducing-elements/
Glad I could help!
Hi Leo,
Didn't discover that yet. That is a cool new feature. Makes it more flexible again.
Thanks!
No problem :)