hueman/tmpl/index-tmpl.php
nikeo 2b0f780b93 improved : introduced hu_get_content( $tmpl ) which takes care of all content rendering inside section > .pad accross the theme
added : 6 content templates
improved : post messaging for the social links customization
added : icon size option for the social links
2017-02-24 20:29:51 +01:00

10 lines
No EOL
272 B
PHP

<?php if ( ! hu_is_home_empty() ) : ?>
<?php if ( hu_is_checked('featured-posts-enabled') ) { get_template_part('parts/featured'); } ?>
<?php
if ( have_posts() ) {
hu_get_template_part( 'parts/post-list-articles' );
}
?>
<?php endif; ?>