- June 3, 2019 at 7:03 AM #9488This reply has been marked as private.June 4, 2019 at 4:46 AM #9505
Could you please add
define( 'SCRIPT_DEBUG', true );code in
wp-config.phpfile so that theme load only main js file.
Currently, our theme is loading minify js file for that reason your custom js code is not working.
Thanks!June 4, 2019 at 7:16 AM #9509
It worked, but now I can’t click the arrows to make it scroll through the different services, as well as the rooms.June 4, 2019 at 7:28 AM #9510
I changed back to the old wp-config file. Can I not change the custom.min.js file instead?June 5, 2019 at 4:49 AM #9517
Just now I went through your site and slider navigation buttons working fine. Could you please check it once.
Info:- Once you added the above code then it’s nothing to do with minify file. All js code is inherited from the main js file.
ThankS!June 5, 2019 at 8:44 AM #9518
I didn’t add the define( ‘SCRIPT_DEBUG’, true ); to the the wp-config file. I just edited the custom.min.js file to only show two rows. And I see now after I waited a while, it worked!
And the buttons are also working. So I think it’s best to edit the custom.min.js file because when it loaded from the custom.js file after I added the code to the wp-config file, the left and right arrows did not work.
Thanks for all your help! 🙂 🙂June 6, 2019 at 4:18 AM #9526
Let us know if this helps or need more help please do reply.
I would like to ask you a favor Elaina. Would you mind taking a few minutes to write a review for me, please? Your comments help others know what to expect when they’re looking for the theme we offer.
Link to rating our theme: https://wordpress.org/support/theme/courtyard/reviews/?filter=5
Thanks for using our theme Elaina. I’m looking forward to reading your comments.
- You must be logged in to reply to this topic.