Skip to content

Instantly share code, notes, and snippets.

@joshfeck
Created October 11, 2012 16:56
Show Gist options
  • Select an option

  • Save joshfeck/3873852 to your computer and use it in GitHub Desktop.

Select an option

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
<?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