CoreFiles by mySites.guru
index.php38 lines, 1,021 bytes, from wordpress-3.7.21.zip
Raw History Compare with 3.7.20
md5
22e8745402ef9f879c4a2741118d8e3c
sha1
6e1d6abca2cd0f543251d372b653a06ca523ffbc
sha256
83f44365649ed1e22629a975dfe0c69fd9d5f504095abcf54eedf8611631f1cc
<?php
/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme and one of the
 * two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * For example, it puts together the home page when no home.php file exists.
 *
 * @link http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Thirteen
 * @since Twenty Thirteen 1.0
 */

get_header(); ?>

	<div id="primary" class="content-area">
		<div id="content" class="site-content" role="main">
		<?php if ( have_posts() ) : ?>

			<?php /* The loop */ ?>
			<?php while ( have_posts() ) : the_post(); ?>
				<?php get_template_part( 'content', get_post_format() ); ?>
			<?php endwhile; ?>

			<?php twentythirteen_paging_nav(); ?>

		<?php else : ?>
			<?php get_template_part( 'content', 'none' ); ?>
		<?php endif; ?>

		</div><!-- #content -->
	</div><!-- #primary -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>

The same content is in 235 releases, WordPress 3.7-beta1 to 4.2-beta4. See them all, or every version of this file.