[Resolved] Dynamic data in a page?

Home Forums Support [Resolved] Dynamic data in a page?

Home Forums Support Dynamic data in a page?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2019552
    Henk

    Hi,

    We’re using GP and GB Pro for our website.

    Is it possible to make a page that contains dynamic data?
    I try to clarify it with an example.
    I build a page, called it a template, and inside this template I have a dynamic field called <city>. How can I make e.g. 15 pages, where each page has a specific value for <city>?

    Is something like this possible or should I make a template page and make by hand (duplicate pages) all the pages for each city?

    Thanks, Henk

    #2019605
    David
    Staff
    Customer Support

    Hi there,

    you can you use the Block Element and its dynamic data options:

    https://docs.generatepress.com/article/dynamic-data/

    You can either create a Content Template:

    https://docs.generatepress.com/article/block-element-content-template/

    to replace the themes content template.

    Or just hook in your own block element eg. a Page Hero.

    For your data you would store it in a Custom Field

    #2041729
    Henk

    Thanks David.
    With your suggestions I found a solution.

    #2042188
    David
    Staff
    Customer Support

    Glad to hear that!

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