[Resolved] Best way to create sections

Home Forums Support [Resolved] Best way to create sections

Home Forums Support Best way to create sections

  • This topic has 3 replies, 2 voices, and was last updated 5 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #855844
    Sam

    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.

    #855847
    David
    Staff
    Customer Support

    Hi there,

    maybe the GP Sections module will do what you require:

    https://docs.generatepress.com/article/sections-overview/

    #855875
    Sam

    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!

    #855884
    David
    Staff
    Customer Support

    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:

    https://docs.generatepress.com/article/hooks-visual-guide/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.