CoreFiles by mySites.guru
index.php38 lines, 1,023 bytes, from wordpress-4.2.21.zip
Raw History Compare with 4.2.20
md5
e05e6582dcbc97f80e32c5cd8a220f5a
sha1
412f5fb650388124c8664469461fc4b93bb3ebee
sha256
b6f7face8a6a4f8c8bc9d495783fcec42e1b8029a63e21524851bf1725f2c3ea
<?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 https://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 88 releases, WordPress 4.2-RC1 to 4.3.35. See them all, or every version of this file.