Advertisement
Guest User

Untitled

a guest
Jan 19th, 2014
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.93 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The main template file.
  4.  *
  5.  * This is the most generic template file in a WordPress theme
  6.  * and one of the two required files for a theme (the other being style.css).
  7.  * It is used to display a page when nothing more specific matches a query.
  8.  * E.g., it puts together the home page when no home.php file exists.
  9.  * Learn more: http://codex.wordpress.org/Template_Hierarchy
  10.  *
  11.  */
  12.  
  13. get_header(); ?>
  14. <article id="content">
  15.     <header>
  16.         <h1 id="begin-of-content" class="page-title"><?php the_title(); ?></h1>
  17.     </header>
  18.  
  19.     <div class="real-content">
  20.         <?php
  21.         /* Run the loop to output the posts.
  22.          * If you want to overload this in a child theme then include a file
  23.          * called loop-index.php and that will be used instead.
  24.          */
  25.         get_template_part( 'loop', 'index' );
  26.         ?>
  27.  
  28.         <div class="clear"></div>
  29.     </div>
  30. </article>
  31. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement