Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #935365

    Hi,
    A client wants to add 3 sections as standard at the bottom of the page template (a content slider of books, three call to action boxes and a sign up newsletter box) – – LINK to see example of 3 sections want on page template AT THE BOTTOM OF THIS POST ).

    I am guessing I will be using the template-builder.php file but beyond that could you give me some advice how I do this bearing in mind they will be using the Advanced Layout Builder?

    Kind regards,
    Peter

    #935372

    Hello. If you need to automate the template process, I’d be interested to hear Enfold’s response. To this point, I’ve accomplished this using one of the following.

    1. Create a post\page with the custom section. Use the Duplicate Post plugin to clone this template page, for all future posts\pages. -OR-
    2. Create the custom section, save it as a template, and manually add it to each page as desired.

    The thing I’m interested in, as I’m sure you are as well, is how to dynamically update all posts\pages assigned to a template. If you\we decide to adjust the template, how does this get pushed out to all posts\pages under that template?

    #935389

    Hi WP Turned Up
    Thanks for the great ideas – But as you mentioned yourself – I want ONE place to do future updates as well.
    So maybe a custom section added via function.php and a “exclude” ID same place.
    I even considered “Widget on pages” plugin – But I don’t thing that Avia Adv. Layout would work?? with a WOP Shortcode?

    We already have the “Template” … section but Authors forgets to add them and an update is huge work – all 260 pages!!! – No Thx :-)

    #935877

    Hi,

    Edit the footer.php file or the template-builder.php file and then wrap the shortcodes inside the do_shortcode function. Unfortunately, global templates are not available at the moment so you’ll have to do this manually for now.

    do_shortcode function:
    // https://developer.wordpress.org/reference/functions/do_shortcode/

    set the builder to debug mode to extract the actual elements’ shortcode.
    // https://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Best regards,
    Ismael

    #939325

    QUESTION RESOLVED.

    Decided to create the sections as a widget which client could add as they wanted it – I anticipated the client would come back later asking how they could have pages without the widget embedded!

    The debug mode was very helpful to create the widget, thanks!!

    #939604

    Hi,

    Great, thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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