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

    Hi,

    I have been trying to find a way to add extra element to the avia framework page builder – inside of my child theme and / or as a plugin – but could not find the way to do that.

    What is the right approach?

    I have tried to copy from “/config-templatebuilder/avia-shortcodes” in the child theme – but without success and I had a look at the list of hooks and filters but didn’t see anything that looked connected to that.

    Would you have any suggestion?

    #859831

    Hey jsavalle,

    Apologies, but I’m not understanding exactly what you nee. Are you needing to know what the Enfold shortcodes are?

    Best regards,
    Jordan Shannon

    #860168

    Sorry if I wasnt’t clear.
    I am trying to extend the fuctionnalities of the layout buider – and add new items.

    what I mean

    #860468

    Hi,

    Thank you for using our theme.

    Did you have a look at http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/.

    As a first step copy an element from the standard shortcode folder and rename $this->config[‘name’] to a new name.
    After loading the backend you should find your new name in the element list (the original has been overridden because it has the same class name). If you change the class name (also in the if statement before class declaration !!!) you will find both elements.

    An example for a plugin you find here:

    https://github.com/KriesiMedia/enfold-library/tree/master/customizations/alb/separator_whitespace

    If you create your own elements you also need to add some CSS for displaying the elements in the editor window see
    enfold\config-templatebuilder\avia-template-builder\assets\css\avia-builder.css

    Hope this helps you.

    Best regards,
    Günter

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