Include extra files on Custom Page Template
I have a site that uses two different page templates. I want to include an extra stylesheet in the special template but I don’t know how to do that with just one header.php file.
I would imagine there would be some sort of hook for me to use. Something like is_page_template(“”) which would determine if the page is using a certain template and then use php and conditional statements to include an extra file.
- The topic ‘Include extra files on Custom Page Template’ is closed to new replies.