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
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
Hi Victoria,
It still doesn’t work, is the path I use oké?
Regards,
Ariane
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
See below,
Regards, Ariane
Hi Ariane,
The token does not seem to work, it just redirects to the login page. Please update.
Best regards,
Victoria