Enfold 6.0 — a grid of empty layout slots with one filled from a data source

Enfold 6.0 – Dynamic Content, Custom Layouts and ACF Support

Enfold 6.0 in a Nutshell: Dynamic Content, Custom Layouts & ACF

This is the big one. Enfold 6.0 introduces Dynamic Content — instead of typing a value into an element, you point the element at a data source and it fills itself in. That works across more than thirty elements now, from Special Heading and Textblock all the way through to Galleries and Image Hotspots :)

It comes with full Advanced Custom Fields support for sixteen ACF field types, plus support for ACF post types and taxonomies. There is a new Dynamic Data element, a new Custom Layout element, and an av_dynamic_el shortcode so you can output dynamic data outside of the Layout Builder as well.

Custom Post Types got a proper home too — you can now activate your own post types for the Layout Builder, pick default terms when saving, and add taxonomy and thumbnail columns to their edit screens. There is a lot to unpack here, so we wrote it up properly in the documentation.

So whats new with this one?

Here is the list of all the changes ;)

Version 6.0

feature: extended options for shop banner location (above or below title/breadcrumb bar) and parallax or scroll
feature: added options for responsive shop banner image
feature: ALB Accordion added option to show toggle title below content
feature: ALB Accordion added option to set slide speed of toggle content for each toggle
feature: ALB Accordion added option for an open toggle title
feature: Theme options -> Layout Builder -> Custom Page Layout And Dynamic Content
feature: Dynamic content support in TinyMCE “ALB Magic Wand Button” dropdown
feature: new ALB element “Dynamic Data” (can be used in ALB Table element)
feature: new ALB element “Custom Layout”
feature: shortcode ‘av_dynamic_el’ – supports output of dynamic data also in non ALB areas
feature: added theme option Layout Builder -> Show advanced options -> Activate Your Custom Post Types For ALB
feature: CPT support to select default terms when saving post (WP Dashboard -> Settings -> Writing)
feature: CPT support to extend CPT Edit Page table with taxonomy column and thumbnail colum (WP Dashboard -> Settings -> Writing)
feature: Extended ALB video for portrait videos and better lightbox CSS for portrait, landscape and also for custom ratio videos

feature: added Dynamic Content support to various elements:

Layout Elements:

– Columns
– Section

Content Elements:

– Accordion
– Animated Numbers
– Buttonrow
– Buttons
– Catalog
– Chart
– Content Slider
– Fullwidth Buttons
– Headline Rotator
– Icon
– Icon Box
– Icon Circles
– Icon List
– Icon/Flipbox Grid
– Notification
– Progress Bar
– Promo Box
– Social Buttons
– Special Heading
– Table
– Tabs
– Team Member
– Testimonials
– Textblock
– Timeline

Media Elements:

– Before-After Images
– Gallery
– Horizontal Gallery
– Image
– Image Hotspot
– Masonry Gallery
– Partner/Logo

feature: ACF (Advanced Custom Fields) support with dynamic content for following ACF types:

– text
– textarea
– number
– range
– email
– url
– password
– image
– gallery (**** pro version)
– link
– post_object
– page_link
– date_picker
– date_time_picker
– time_picker
– color_picker

feature: Support for ACF post types and taxonomies
feature: Checkbox ACF -> Post Type -> Advanced Configuration -> Enfold Layouts to show Layout Metabox in edit screen

tweak: updated the “For Developers: Custom Tab ID” string to “Custom Toggle ID” in ALB Accordion element
tweak: moved ALB “Page Content” to Layout Element Tab

accessibility: ALB tabs added better HTML support for European Accessibility Act
accessibility: started adding html markup aria-hidden=”true” tabindex=”-1″ for empty h* tags to several ALB elements
accessibility: added aria-label=’…’ to elements where user entered a “Custom Title Attribute” in addition to title=’….’
accessibility: ALB accordion added better HTML support for European Accessibility Act

fixed: warning undefined-array-key-medium-in-class-popup-templates-responsive-php
fixed: CSS for ALB audio player in audio post format
fixed: ALB table element delete icon for rows not visible for button rows
fixed: Theme option ‘Custom Post Type Screen’ not hidden when theme support ‘avia-custom-elements-cpt-screen’ is not set
fixed: CSS for ALB table when empty cells in the pricing table are hidden when “show empty cells” is enabled
fixed: Latest News widget might break backend
fixed: ALB icon box link title displayed instead of title when link is applied to icon and title

updated: Dutch language files nl_NL (version 6.0 provided by EZWebdesign – Roger Hoen )
updated: Italian language files it_IT (version 6.0, provided by BigBatT – [email protected])
added: Norwegian Nynorsk language files nn_NO (version 5.7.1 provided by Berntjs )
updated: French language files fr_FR (version 6.0, provided by comkapi – Patrick)
updated: Croatian language files hr (version 6.0, provided by NUIT d.o.o. – [email protected] )
fixed: translation error in all german language files

Updated: LayerSlider 7.11.1

DEVELOPERS:

feature: dismissible admin notice boxes with possibility to include custom HTML templates

tweak: redesign of theme options update logic with integration of dismissible admin notice boxes
tweak: wrapped functions in ..\config-woocommerce\admin-options.php in function_exits()
tweak: ALB video add custom css class option and video format to lightbox wrap container .mfp-wrap (based on solution by Guenni007)

added: classes ‘avia-video-cookie-allowed’ and ‘avia-video-cookie-not-allowed’ to HTML
added: theme support ‘avia_disable_cpt_support’ to disable CPT support feature (does not load class file)
added: various filters for custom page layout, dynamic content support, admin notice box:

– ‘avf_custom_page_layout_post_type’
– ‘avf_custom_page_layout_taxonomy’
– ‘avf_custom_page_layout__post_types’
– ‘avf_custom_page_layout__post_status’
– ‘avf_custom_layout_cpt_args’
– ‘avf_custom_layout_cpt_tax_args’
– ‘avf_custom_layout_enabled’
– ‘avf_custom_layout_metabox_content’
– ‘avf_custom_layouts_user_capability’
– ‘avf_register_dynamic_data_sources’
– ‘avf_dynamic_content_enabled’
– ‘avf_dynamic_format_numeric_separators’
– ‘avf_dynamic_format_output_data’
– ‘avf_before_query_wp_default_custom_fields’
– ‘avf_query_wp_default_custom_fields’
– ‘avf_query_default_custom_fields_filter’
– ‘avf_query_default_custom_fields_limit’
– ‘avf_dynamic_create_select_list’
– ‘avf_dynamic_filter_select_list’
– ‘avf_dynamic_dropdown_array’
– ‘avf_create_sc_data_string’
– ‘avf_sc_av_dynamic_el’
– ‘avf_query_custom_fields_cache’
– ‘avf_custom_field_format’
– ‘avf_custom_field_final_data’
– ‘avf_replace_pseudo_shortcode’
– ‘avf_acf_field_types_supported’
– ‘avf_acf_gallery_image_size’
– ‘avf_admin_notices_definition_files’ – add paths to custom box definition files, this allows to override previous defined boxes
– ‘avf_init_admin_notices’ – allows to alter the admin notice box array with definitions
– ‘avf_admin_notices_filtered’ – for current user filtered notice boxes to display
– ‘avf_skip_output_single_notice’ – skip output of notice box
– ‘avf_admin_notices_activate_cron’ – enable/disable cron job to clean up database for notice box show data and user meta
– ‘avf_admin_notice_default_expire_time’ – change the default expire time (in a context)

added: filter ‘avf_alb_magic_wand_button’ – allows to modify tinyMCE menu for ALB magic wand dropdown
added: filter ‘avf_force_alb_usage’ – allows to force ALB for a post (see https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/ALB%20core/avf_force_alb_usage.php)
added: filter ‘avf_shortcode_insert_button_backend_disabled’ – allows to enable/disable an ALB shortcode button in backend
added: filter ‘avf_cpt_support_post_types’ – allows to remove CPT’s from support by this feature (e.g. like products)
added: filter ‘avf_cpt_support_no_table_filters’ – allows to skip adding thumbnail and taxonomy columns to CPT table screens
added: filter ‘avf_cpt_wp_settings_writing’ – allows to create a custom output on WP Settings Writing screen
added: filter ‘avf_woocommerce_default_banner_image_size’ – change shop banner image size (intended for product category thumbs )
added: filter ‘avf_contact_form_datepicker_args’ – change contact form datepicker aguments e.g. like date range
added: template taxonomy.php to provide basic support for ACF custom taxonomies (based on taxonomy-portfolio_entries.php)

removed: avia_backend_admin_notice()
removed: avia_backend_reset_admin_notice()