Files
Sergey Astafev 2583f15c69 hot fixes
added .row div in each template
added changing content classes function
added custom template page
added wp core styles
added searchform template
2016-04-03 15:50:28 +04:00

23 lines
588 B
PHP

<?php
/**
* Шаблон обычной страницы (page.php)
* @package WordPress
* @subpackage your-clean-template-3
*/
get_header(); ?>
<section>
<div class="container">
<div class="row">
<div class="<?php content_class_by_sidebar(); ?>">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
</article>
<?php endwhile; ?>
</div>
<?php get_sidebar(); ?>
</div>
</div>
</section>
<?php get_footer(); ?>