on this thread there was a question to substitute a shortcode in parent theme .
On Versions before the old code do the trick:
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;
}
Then you only have to create a new shortcode or a copy of the original and change code in it. The copy of the shortcode will overwrite the original!
But now this doesn’t have any influence – allthough the new child-theme shortcodes are visible in Dashboard – Appearance – Editor. The Changings have no effect!
Any Advices to change that back to “old school”
Hey Guenter,
Can you please update Enfold to 4.0.4 and check if that helps? :)
Best regards,
Yigit
shortcodes are now (4.0.4.) ok but. see here: https://kriesi.at/support/topic/enfold-4-0-3-a-bit-buggy/