Home › Forums › Back End › WP – How to add a script to a specific page › Reply To: WP – How to add a script to a specific page
September 8, 2014 at 7:49 am
#182135
Participant
is_page_template(templateName)
IS the if statement I was referring to ;)
The problem is that a template check can’t be called just everywhere you like — apparently it only returns something when it’s called in The Loop, so I’m trying to find another way to check for the template.