Last active
August 20, 2016 08:53
-
-
Save sjaved87/16038e959a1d97ce3f03cd3ddb95a8e2 to your computer and use it in GitHub Desktop.
This is blank template page. It will also take care of header and footer scripts :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Template Name: Blank Page | |
| * | |
| * A blank custom page template. | |
| * | |
| * Author - Sajid Javed | |
| * | |
| * The "Template Name:" bit above allows this to be selectable | |
| * from a dropdown menu on the edit page screen. | |
| * | |
| */ | |
| wp_head(); ?> | |
| <?php if (have_posts()) : ?> | |
| <?php while (have_posts()) : the_post(); ?> | |
| <?php the_content(); ?> | |
| <?php endwhile; ?> | |
| <?php endif; ?> | |
| <?php wp_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment