I would like to create a custom element: a block (width 1/3) containing 1 picture, 1 1headline, 1 text and one button. I would like to lock most features so doing any change affects all the instances used of this block.
Is that possible?
Hey wolfgangspelitz,
Thank you for the inquiry.
You have four options, create a custom shortcode, use the Custom Element Template (CET), create Custom Layouts or create your own Advance Layout Builder elements (ALB). The downside with using the CET is that you can only create a template for a single element and the Custom Layouts cannot be inserted into drop zones such as Columns or Sections. If you need to combine multiple elements or shortcodes, you’ll have to create a custom shortcode or create your own ALB elements.
To learn more about CET and Custom Layouts, please check the links below:
— https://kriesi.at/documentation/enfold/custom-element-templates/
— https://kriesi.at/documentation/enfold/custom-layout-and-dynamic-content/
For custom shortcodes, this should help: https://codex.wordpress.org/Shortcode_API
And to register another ALB element or override an existing one, please refer to this documentation: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
If you need help with customizations, you can contact our partner, Codeable: https://kriesi.at/contact/customization
Best regards,
Ismael