[ Index ] |
WordPress Cross Reference |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The main template file 4 * 5 * This is the most generic template file in a WordPress theme and one of the 6 * 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 * For example, it puts together the home page when no home.php file exists. 9 * 10 * @link http://codex.wordpress.org/Template_Hierarchy 11 * 12 * @package WordPress 13 * @subpackage Twenty_Thirteen 14 * @since Twenty Thirteen 1.0 15 */ 16 17 get_header(); ?> 18 19 <div id="primary" class="content-area"> 20 <div id="content" class="site-content" role="main"> 21 <?php if ( have_posts() ) : ?> 22 23 <?php /* The loop */ ?> 24 <?php while ( have_posts() ) : the_post(); ?> 25 <?php get_template_part( 'content', get_post_format() ); ?> 26 <?php endwhile; ?> 27 28 <?php twentythirteen_paging_nav(); ?> 29 30 <?php else : ?> 31 <?php get_template_part( 'content', 'none' ); ?> 32 <?php endif; ?> 33 34 </div><!-- #content --> 35 </div><!-- #primary --> 36 37 <?php get_sidebar(); ?> 38 <?php get_footer(); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 25 01:41:18 2014 | WordPress honlapkészítés: online1.hu |