Skip to content

Instantly share code, notes, and snippets.

@raselahmed7
Created September 23, 2014 13:16
Show Gist options
  • Save raselahmed7/de426069e05cd303fdb7 to your computer and use it in GitHub Desktop.
Save raselahmed7/de426069e05cd303fdb7 to your computer and use it in GitHub Desktop.
Homepage only look wordpress
<?php if( is_home() || is_front_page() ) : ?>
<!-- Homepage Only Code -->
<?php else : ?>
<!-- Other Page Code -->
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment