Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1285166

    Hi,
    I would like to change some things to the Enfold upcoming events element (tab Plugin Additions in Avia builder) from The Events Calendar
    so I copied the events_upcoming.php from
    /themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php
    to /themes/Childtheme/shortcodes/events_upcoming/events_upcoming.php

    Cleared cache and everything but I still see the old file from the Enfold theme and not the Childtheme file.
    What am I doing wrong?

    thank you very much in advance!
    Best Regards,
    Ariane

    #1285278

    Hey ariane1001,

    Please add this to your functions.php file:

    
    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.'/config-templatebuilder/avia-shortcodes/');
      return $paths;
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1285312

    Hi Victoria,
    It still doesn’t work, is the path I use oké?
    Regards,
    Ariane

    #1285332

    Hi Ariane,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1285346

    See below,
    Regards, Ariane

    #1285528

    Hi Ariane,

    The token does not seem to work, it just redirects to the login page. Please update.

    Best regards,
    Victoria

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