Small tutorial

how to use edited Enfold ALB Elements.

All files provided here are for the new Enfold (since 4 has introduced the screen options for ALB Elements) 

Use at your own risk – All files and functions are tested in a lot of Enfold Installations and will work if you are reading the tutorial carefully.

It is best to work with a child theme. As a result, the changes will not be lost during the next update.

All shortcodes of the ALB Elements are in the folder:

To substitute these parent-theme-files there is in documentation that helpful small snippet:  Documentation-Link

add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
function avia_include_shortcode_template($paths){
 $template_url = get_stylesheet_directory();
 array_unshift($paths, $template_url.'/shortcodes/');
 return $paths;

so all you have to do is to create a folder called : „shortcodes“  in your child-theme folder
and upload the downloaded files to that folder

that is all !!!

because of there are new code-lines added in the existing ALB Elements, you have to re-edit sometimes the existing ALB Elements. Espacially the icon-box and icon-list Element.

All newly made ALB Elements will show imediately the changed output.

Heading with ID Input field option

here you got the possibility to set a custom ID to a heading.

Might be helpful if you need it as anchor for navigation. Color-sections side by side with Side-Bar is not possible.

Since Enfold 4.2.5

Rename the downloaded file to heading.php

Iconbox and Icon‑List with h‑tag choice



these files give you the chance to set the h-tag as you like!

(on small Icon-list : the h-tag goes as on parent-theme to div containers)

More styling options.

For the reason that a h1 should only once on a page the list has no h1 tag option !

since Enfold 4.2.5

(create a subfolder to shortcodes-folder in child-theme ) rename the downloaded file to iconlist.php

(create a subfolder to shortcodes-folder in child-theme ) rename the downloaded file to iconbox.php

Full‑Screen Slider and Full‑Width Slider with h‑tag choice at caption

Full‑Screen and Full‑Width Slider Caption

these files give you the chance to set the h-tag as you like!

More styling options.

Since Enfold 4.2.5

Everything like before – 3 files for the shortcodes folder on child-theme

White Space Separator with ID Option

Whitespace Separator with ID Option

To have good Anchor Links even on Sidebar showing

More styling options.

Download for Enfold til 4.2

New Download for Enfold since 4.2.4

don’t know if it is neccessary but preserve folder structure and place the new hr in a folder in shortcodes called hr

by the way : if you use it as anchor link it might be nice to give to the enfold created surrounding container a padding of zero –  this to functions.php will do that automatically if the hr got an id:

function add_class_to_parent_of_hr_with_id(){
 $('[id]').closest('.content').css( 'padding' , '0px' );
add_action('wp_footer', 'add_class_to_parent_of_hr_with_id');