Advertisement
richardmhowell

Blog Template Rev2

Jun 9th, 2012
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.08 KB | None | 0 0
  1. <?php
  2. /*
  3. Template Name: The Blog
  4. */
  5. ?>
  6.  
  7.                     <?php get_header(); ?>
  8.  
  9.                     </div>
  10.  
  11.                     <?php include("navigation.php"); ?>
  12.  
  13.                 </div>
  14.                 <!-- /header -->
  15.                 <!-- middle -->
  16.                 <div class="center">
  17.                     <div id="middle">
  18.  
  19.                         <div class="midblog">
  20.                             <div class="blogone">
  21.                                 <?php while ( have_posts() ) : the_post(); ?>
  22.                                 <h2><?php the_title(); ?></h2>
  23.                                 <div class="posted">Posted by <a href="#">Jonnotie</a> on 4 January 2008 — <a href="#">8 Comments</a></div>
  24.  
  25.                                 <div class="blogtext">
  26.                                 <ul>
  27.                                 <li>
  28.                                 <?php the_content(); ?>
  29.                                 </li>
  30.                                 <?php endwhile; ?>
  31.                                 </ul>
  32.                                 </div>
  33.                                 <div class="reading"><a href="#">Continue reading &raquo;</a></div>
  34.                             </div>
  35.  
  36.                             <div class="pre_next">
  37.                                 <div class="pnext">Next</div>
  38.                                 <div class="nprev">Previous</div>
  39.                             </div>
  40.                         </div>
  41.                     </div>
  42.                     <!-- /middle -->
  43.                 </div>
  44.             </div>
  45.             <div class="btmbg"></div>
  46.         </div>
  47.         <div class="center">
  48.         <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement