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

    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”

    #767424

    Hey Guenter,

    Can you please update Enfold to 4.0.4 and check if that helps? :)

    Best regards,
    Yigit

    #767530

    shortcodes are now (4.0.4.) ok but. see here: https://kriesi.at/support/topic/enfold-4-0-3-a-bit-buggy/

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘bug on enfold 4.0.3’ is closed to new replies.