GP Hooks – php – display: none
-
You have given me the coding to have two different headers on my site using GP Hooks. I am now making another site where I just want the GP Hooks header to appear on the home page and not on the other pages.
Could you please tell me how I accomplish this. Currently I have
<?php if ( is_front_page() ) { ?>
<center>[videojs mp4=”https://marypearson.info/wp-content/uploads/snowy-branches250.mp4″ preload=”auto” autoplay=”true” loop=”true” controls=”false” height=”250″ width=”952″]</center>
<?php } else { ?><?php } ?>
What do I put after the “else” line? so that the header doesn’t appear on other pages?
Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘GP Hooks – php – display: none’ is closed to new replies.