I have been struggling to make JavaScript work and determine the correct location to place the files.
After attempting various methods, I am now wondering what the most logical approach would be. Despite spending a week on this task, the lack of a tutorial has left me uncertain. I suspect the solution is actually quite simple.
My focus is solely on comprehending the appropriate file placement before delving deeper into the world of coding.
Any assistance provided would be greatly appreciated!
Here is what I have accomplished so far:
- I developed a Child theme and inserted the hook code into the functions.php file (refer to the image) There appears to be duplicate code present, but I am unsure
- I have obtained the files for a .js slider (attempted multiple variations) but I am uncertain where to insert the code/files
- I placed the HTML in an HTML widget at the top of the page, the CSS in Wordpress' 'Additional CSS', and the JavaScript within the functions.php enclosed brackets.
- I also tried incorporating the code files into the ChildTheme folder, which unfortunately did not yield positive results