Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #786305

    Hi,

    could you please tell me, what ENFOLD file or files I need to duplicate, to make an own page template,
    where a custom widget area (!!!) is working, too?

    Important for me is, that I can use there a “custom widget area” on this duplicate, too.

    Thank you.

    #786364

    Hey Chris,

    You can duplicate page.php from the enfold theme, just make sure you add the template name after the opening php tag:

    /* Template Name: My Custom Page */

    You can use this as a reference to add the widget area on the Customized page: https://codex.wordpress.org/Function_Reference/dynamic_sidebar
    Hope this helps.

    Best regards,
    Nikko

    #786386

    first of all – please make you familiar with using a child theme – there are a lot of advantages.
    All changings to that child theme stay even on updating the parent theme was one of those points.

    A Template is an established term in WordPress.

    Templates are the files which control how your WordPress site will be displayed on the Web. These files draw information from your WordPress MySQL database and generate the HTML code which is sent to the web browser.

    A Template often is a strict layout and you only could change colors or fonts etc. via css. The layout structure stayes often the same.

    Enfold uses advanced layout builder – so you can create page/post wide a different layout – no strict template.

    If you have in your mind something like the demos – they only differ in some settings and color-schemes etc. These settings are made with Enfold Options Dialog.
    So you can do it via Child-Theme yourself and a bit of code-snippets sometimes.

    To your other question : there are a lot of possiblities to make your own widget area. And Enfold accomadets your whishes.
    It is very simple to register an own widget area. And there was a widget area element on content elements listed.

    For placing a site-wide widget area – we have to know something more precise input of you

    #786390

    so here on enfold documentation there is a predefined download child-theme: Link

    #786399

    ??? sorry, Guenni, I don’t understand your posts … my question was about what file I can use as a basic file for a duplication for a page template – whether it is the page.php or loop-page.php.

    I don’t use child themes at all, they never worked for me – I have my own system to keep all updated with the original theme, so nothing I need and nothing I will ever change, sorry :-)

    #786843

    Hi,

    If you’re not using the advance layout builder, you can create a template based on the page.php file or the loop-page.php file.

    Best regards,
    Ismael

    #787111

    okay, thanks, and what file do I need to duplicate/modify for using the ALB on it, too, please?

    #787481

    Hi,

    You can use this file: template-builder.php

    Best regards,
    Nikko

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