mirror of
https://gh.wpcy.net/https://github.com/presscustomizr/hueman.git
synced 2026-04-24 18:32:44 +08:00
* 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
32 lines
No EOL
627 B
PHP
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(); ?>
|