Viewing 4 reply threads
You must be logged in to reply to this topic.
Just installed Folie theme with a swipe function on the homepage. Getting four javascript errors as the path to this script is
https://wp-content/themes/folie/js/swiper.min.js?_=1548799056405
and it should be
https://my-domain-here.com/wp-content/themes/folie/js/swiper.min.js?_=1548799056405
Where do I fix this?
Folie/Codeless/landing scroll template
Wordpress
Hello,
I think there isn’t any problem with the theme. The file is called by WordPress Core function “get_template_directory_uri()” recommended by WordPress.
You can check the function here: functions.php :
wp_localize_script(
'codeless-main',
'codeless_global',
array(
'ajax_url' => esc_url( admin_url( 'admin-ajax.php' ) ),
'FRONT_LIB_JS' => esc_url( get_template_directory_uri() . '/js/' ),
You can see that the constant is FRONT_LIB_JS and is called the function “get_template_directory_uri() . ‘/js/’.
Please can you share with us your wp creds and online link in a private reply. So we can take a closer look.
Let me know.
Regards!
Yes, but there must be some sort of variable missing for this particular call as other javascript libraries are working but the slider which is specific to your template is not and is either supposed to be a relative URL or is missing the domain info.
Hello,
Please can you send to us your online link and wp creds in your profile details so can inspect the issue closer and find what cause your issue.
Let us know.
Regards!
You must be logged in to reply to this topic.