Script For One Page
-
With help from other members, I have discovered I need the below php code in my header which will run my script only on my home page.
However, how do I set it to run only on another, specific page? Do I put the slug of the page in place of ‘home’ in the below script?
<?php if(is_home()) { ?>CODE HERE..<?php } ?>
-Scott
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Script For One Page’ is closed to new replies.