hi, i’m using the latest version of enfold and wp
i’m using this code in function.php of child theme
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; }
i create the folder but this code broke my site, if i remove it all works fine.
i’m using this code on other site but they are running older version of enfold.
Maybe there is a problem between this code and latest version???
i need an updated version of this snippet?
thank you
Hey weasyweb2015,
Can you please check the server log for error?
Best regards,
Victoria