This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!

Surplus page without title

By: wpexplorer on Jul 28th, 2013  |  syntax: None  |  size: 0.59 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3.  * @package WordPress
  4.  * @subpackage Surplus Theme
  5.  * Template Name: Page Without Title
  6.  */
  7. ?>
  8. <?php get_header(); ?>
  9.  
  10. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  11.  
  12. <section class="post clearfix">
  13.  
  14.     <article class="entry clearfix">   
  15.         <?php the_content(); ?>
  16.         </article>
  17.         <!-- /entry -->
  18.    
  19.         <?php
  20.         //show comments, unless disabled
  21.         if($data['enable_disable_blog_comments'] != 'disable') {
  22.     comments_template(); } ?>  
  23.    
  24. </section>
  25. <!-- /post -->
  26.  
  27. <?php endwhile; ?>
  28. <?php endif; ?>  
  29.  
  30. <?php get_sidebar(); ?>
  31. <?php get_footer(); ?>
clone this paste RAW Paste Data