mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogrow.git
synced 2025-08-26 08:17:27 +08:00
53 lines
No EOL
1.3 KiB
PHP
53 lines
No EOL
1.3 KiB
PHP
<?php get_header(); ?>
|
|
|
|
<div class="content">
|
|
<div class="pad group">
|
|
|
|
<?php get_template_part('inc/page-title'); ?>
|
|
|
|
<div class="notebox">
|
|
<?php esc_html_e('For the term','blogrow'); ?> "<span><?php echo get_search_query(); ?></span>".
|
|
<?php if ( !have_posts() ): ?>
|
|
<?php esc_html_e('Please try another search:','blogrow'); ?>
|
|
<?php endif; ?>
|
|
<div class="search-again">
|
|
<?php get_search_form(); ?>
|
|
</div>
|
|
</div>
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
<?php if ( get_theme_mod('blog-layout','blog-standard') == 'blog-grid' ) : ?>
|
|
|
|
<ul class="entry-grid group">
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
<?php get_template_part('content-grid'); ?>
|
|
<?php endwhile; ?>
|
|
</ul>
|
|
|
|
<?php elseif ( get_theme_mod('blog-layout','blog-standard') == 'blog-list' ) : ?>
|
|
|
|
<div class="entry-list group">
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
<?php get_template_part('content-list'); ?>
|
|
<?php endwhile; ?>
|
|
</div>
|
|
|
|
<?php else: ?>
|
|
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
<?php get_template_part('content'); ?>
|
|
<?php endwhile; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php get_template_part('inc/pagination'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div><!--/.pad-->
|
|
</div><!--/.content-->
|
|
|
|
<?php get_sidebar(); ?>
|
|
|
|
<?php get_footer(); ?>
|