[Resolved] Adding Custom fields into Generatepress

Home Forums Support [Resolved] Adding Custom fields into Generatepress

Home Forums Support Adding Custom fields into Generatepress

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #924623
    Katharina

    I have build a website previous with a theme that made it easy to create sections for testimonials, Image Banner, etc.
    https://paste.pics/e7d143b2ac453377ea904ef4012c1b84
    Is it possible to build something similar into Generatepress or would it be to complicated for me?

    They also make it easy to add a Header (Hero) on the Page you want your Hero on, without using Elements.
    https://paste.pics/7fafd1634e6975a660c6c3e8a17dfeb6

    It was a thought and I would like to make my future projects bit easier.

    What is your thought? Or maybe it’s something to consider when updating Generatepress 🙂

    Thanks
    Kati

    #924664
    David
    Staff
    Customer Support

    Hi there,

    The Guteneberg block editor is ( slowly ) making this easier to add this type of repeat content to your pages. With its re-usable blocks, that allow you to save a styled block of content and add them as you need to any pages.

    We are also developing our Block Plugin that will vastly improve ways of adding styled content in a page.

    Excluding using a pagebuilder, the other method is to use HTML in hooks, which yes is a little more complicated but no more difficult then what you have done so far with your sites.

    For the Page Heros – actually in the past the system did rely on creating heros within the post / page editor. We moved away from this as although it seems easy to start with it become a burden if you needed to change all heros across your site ie. Edit every page or post.

    If planned out correctly, then Elements can quickly automate your page builds. If you wish to use WordPress Custom Fields then they can be added using template tags:

    https://docs.generatepress.com/article/header-element-template-tags/

    So by using featured images and template tags you can build dynamic page headers without having to build them from scratch in each post.

    #925605
    Katharina

    Thanks David, I’ll have a look at it

    #925655
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.