Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1232901

    Hi, I would like to use the av_font_icon shortcode as shown in https://kriesi.at/documentation/enfold/icon/ in my child theme.
    When I place the shortcode I get the notice that I have to enable the element in the theme settings. I see that I can enable it by selecting always load all template builder elements but I would like to keep it at “load only used elements”. Is there a way to manually load only the icon element and keep the setting?

    #1232909

    figured it myself… I needed to remove the element from the disabled_assets array in template-builder

    add_filter('avf_disable_frontend_assets', function ($assets) {
    	if(in_array('av_font_icon', $assets)) {
    		unset($assets['av_font_icon']);
    	}
    	return $assets;
    }, 50);
    #1232974

    Hi lxbdr,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

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