Created
October 11, 2012 16:56
-
-
Save joshfeck/3873852 to your computer and use it in GitHub Desktop.
super simple page WordPress page template for troubleshooting purposes. when selected, it will only display the content of the page
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: Testpage | |
| */ | |
| ?> | |
| <html> | |
| <body> | |
| <?php if (have_posts()) : ?> | |
| <?php while (have_posts()) : the_post(); ?> | |
| <?php the_content(); ?> | |
| <?php endwhile; else: ?> | |
| <p>Nothing to see here, move along.</p> | |
| <?php endif; ?> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment