Archived topic
Best way to create sections
3 replies · Started by Sam on April 1, 2019
Hi!
I'm new to GP. I'm starting to find my way around...
Therefore, I have some newbie issues.
I'd like to create sections in a page (or article). Without using page builder, for It's overkill to use a page builder just to create some sections I think.
What I want is to create some full lenght sections, where I can change the background and insert some content
What's the easiest and most practical way? Using hooks, maybe?
Or using a code snippet~(I have the code snippet plugin)? Or I can't avoid editing PHP?
Thanks in advance for your help.
Hi there,
maybe the GP Sections module will do what you require:
Thank you David for your fast reply!
I'l go and have a proper look. Thats something i need to study. But in the meanwhile...
Does it have a small footprint on the page load?
Thanks!
The Sections module allows you to split up the Main Content into Sections.
Alternatively you would need to add HTML to your content to create Sections.
There is also the Hook Element which can be used for adding global content into the Theme templates:
https://docs.generatepress.com/article/hooks-element-overview/
List of available hooks: