Override Shortcode function in BeTheme with custom Shortcode in function.php's Child theme
Hi guys! I need to override a shortcode function (fancy_heading) in BeTheme with my custom fancy_heading function.
I tried with this in functions.php in child theme
remove_shortcode('fancy_heading'); and then with
add_shortcode( 'fancy_heading', 'custom_sc_fancy_heading' );
function custom_sc_fancy_heading( $attr, $content = null )
{
....
}
But it doesn't seem the good job. May you help please? many thanks!
Comments
unfortunately we do not offer files modifications so all changes in files you must do yourself. But you can check other topic where you can red more details about child theme http://forum.muffingroup.com/betheme/discussion/3128/theme-shortcodes-php-doesn-t-work-in-betheme-child
Thanks!