wordpress/php-fpm/wordpress_files/themes/origami/search.php
2020-05-22 01:40:23 +00:00

18 lines
558 B
PHP

<?php get_header() ?>
<h1 class="archive-title">
<?php printf( __( 'Search Results for: %s', 'origami' ), '<span>' . get_search_query() . '</span>' ); ?>
</h1>
<?php if(have_posts()) : ?>
<?php get_template_part('loop', 'index') ?>
<div id="posts-nav">
<?php posts_nav_link('', __('Newer Entries', 'origami'), __('Older Entries', 'origami')); ?>
</div>
<?php else : ?>
<div class="content">
<?php echo wp_kses_post(siteorigin_setting('text_no_results', __("No results for your query.", 'origami'))) ?>
</div>
<?php endif ?>
<?php get_footer() ?>