Hi – I’m working through the How To Make The Site Faster tutorial.
When I add the code to the functions.php file to get the list of registered css and js, do I add the code at the VERY end of the file – i.e. after all other code/tags/BRACKETS etc?
I wasn’t sure whether it needs to be added before the final ‘<?php’
Thanks
Hello Tericus,
The code should have been added at the very bottom of the functions.php core file like this -> https://www.screencast.com/t/W0xIIciNLJ
Thanks for the message!
Thanks very much for your reply – I added the code today and I now have the list of js and css.
Unfortunately the files which are being highlighted as a problem by the Google speed test are not included on the list.
Is there anything else I can do to identify the files so that I can resolve the problem with the Speed Booster Plugin?
Thanks again.
Thanks for your reply.
There is no problem with the Speed Booster plugin, the problem I have is that the files which are being highlighted as a problem by the Google speed test are not included on the list that the Speed Booster plugin provides.
For example, this appears on the Google speed test as a blocking script resource:
XXX.com/wp-content/themes/Newsmag/js/tagdiv_theme.min.js?ver=3.0
but it is not included on the list of registered css and js
So I am not able to deal with it.
Thanks again for your reply.