Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save philipgledhill/7730521 to your computer and use it in GitHub Desktop.
Save philipgledhill/7730521 to your computer and use it in GitHub Desktop.
Conditional code used in Simple Hooks Tutorial
<?php
if ( ( is_home() ) )
{ ?>
//your code goes here...
<?php }
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment