Hi everyone, I've created a function for calling .js files in <head> but it's not working properly. The reason why is this function necessary is that I want to include different .js files in different pages or remove some If I don't need them.
array and function
$scripts = array("jquery", "tabs", "contentslider"); get_scripts($scripts);
So, files are called as it should be but none of them are making impact on the page