Enqueue scripts based on site.
Why don’t you use simple Javascript/jQuery’s function to check the url and enqueue the relevant js/css files? You may use the below js line to achieve your task: if(window.location.href == ‘YOUR_DESIRED_URL’) { // ENQUEUE JS 1 } If you want to use php’s function, you may also do that.