Skip to content

Instantly share code, notes, and snippets.

@proframework
Last active December 17, 2015 13:10
Show Gist options
  • Save proframework/5615567 to your computer and use it in GitHub Desktop.
Save proframework/5615567 to your computer and use it in GitHub Desktop.
Check if on front page in WordPress
<?php if ( is_front_page() ) { ?>
Content for the front page only in here...
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment