Hello all,

I know this is probably a simple fix, just haven't found anything yet on the forum or other help.

I need to load an external script (javascript) only on a certain category (and sub-categories) in the <head> tag.

I'm learning PHP, but I am assuming there is a way to create a "if" statement to only load the javascript if catagoryID is correct.
Just not sure on how to write the statement and where is the proper file to put it in.

Thanks for any help