mardi 3 février 2015

Conditional functions.php on page template


I am creating a new page template (which essentially i am taking bits and pieces from a new theme). I have called this template-flat.php


Now in functions.php I am looking for a conditional statement to load some new js and css only for template-flat.php instead of the ones loaded by the old theme.


Is there a way I can do this?





Aucun commentaire:

Enregistrer un commentaire