hueman/page.php
nikeo d9fdfae875 * improved hu_get_template_part : added a boolean filter using the template name as param
* changed : templates : 404, archive, page, search, child menu, index. Replace get_template_part() by hu_get_template_part()
* added title utility functions like hu_get_search_title().
* improved template parts/page-title.php
* added : new template parts/single-heading.php, called in the template single.php
2016-09-10 16:59:40 +02:00

32 lines
No EOL
627 B
PHP

<?php get_header(); ?>
<section class="content">
<?php hu_get_template_part('parts/page-title'); ?>
<div class="pad group">
<?php while ( have_posts() ): the_post(); ?>
<article <?php post_class('group'); ?>>
<?php hu_get_template_part('parts/page-image'); ?>
<div class="entry themeform">
<?php the_content(); ?>
<div class="clear"></div>
</div><!--/.entry-->
</article>
<?php if ( hu_is_checked('page-comments') ) { comments_template('/comments.php',true); } ?>
<?php endwhile; ?>
</div><!--/.pad-->
</section><!--/.content-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>