mirror of
https://gh.wpcy.net/https://github.com/presscustomizr/hueman.git
synced 2026-05-18 10:07:13 +08:00
* fixed : Language Label in Translation Files * fixed : the author name links to the post itself * fixed : Featured post slider controls (arrows) overflow content container when blog heading is disabled * fixed : Header image alt attribute is empty. * fixed : Change Default Widget Names and CSS id properties. Could be in collision with some plugins * added : Featured posts : new option to display the full content (instead of the excerpt) of the featured posts. Modified template : content-featured.php. * added : Featured posts : swipe gesture supported on mobile devices like tablets and smartphones * added : Customizer : Pre setup step when adding a new widget zone or social icons. * improved : Customizer user interface have been improved for the social links and the widget zones. It's now easier to drag, edit and remove items. * improved : Introduced a pluggable function ( hu_print_placeholder_thumb() )to print the placeholder thumbnail. Modified templates : content-featured.php, content.php, parts/related-posts.php * updated : jQuery FlexSider to v2.6.0 (latest). Support swipe touch navigation * changed : Header widget and full width footer widget are now enabled by default * changed : The footer-ads option has been moved in the Footer Design section. The title and description of this setting have been clarified.
35 lines
No EOL
944 B
PHP
35 lines
No EOL
944 B
PHP
<?php get_header(); ?>
|
|
|
|
<section class="content">
|
|
|
|
<?php get_template_part('parts/page-title'); ?>
|
|
|
|
<div class="pad group">
|
|
|
|
<?php if ( hu_is_checked('featured-posts-enabled') ) { get_template_part('parts/featured'); } ?>
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
<?php if ( hu_get_option('blog-standard') == 'on' ): ?>
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
<?php get_template_part('content-standard'); ?>
|
|
<?php endwhile; ?>
|
|
<?php else: ?>
|
|
<div class="post-list group">
|
|
<?php $i = 1; echo '<div class="post-row">'; while ( have_posts() ): the_post(); ?>
|
|
<?php get_template_part('content'); ?>
|
|
<?php if($i % 2 == 0) { echo '</div><div class="post-row">'; } $i++; endwhile; echo '</div>'; ?>
|
|
</div><!--/.post-list-->
|
|
<?php endif; ?>
|
|
|
|
<?php get_template_part('parts/pagination'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div><!--/.pad-->
|
|
|
|
</section><!--/.content-->
|
|
|
|
<?php get_sidebar(); ?>
|
|
|
|
<?php get_footer(); ?>
|