hueman/tmpl/search-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

15 lines
No EOL
391 B
PHP

<div class="notebox">
<?php _e('For the term','hueman'); ?> "<span><?php echo get_search_query(); ?></span>".
<?php if ( !have_posts() ): ?>
<?php _e('Please try another search:','hueman'); ?>
<?php endif; ?>
<div class="search-again">
<?php get_search_form(); ?>
</div>
</div>
<?php
if ( have_posts() ) {
hu_get_template_part( 'parts/post-list-articles' );
}
?>