add search

This commit is contained in:
2021-09-28 22:25:21 +03:00
parent 0e42ee8071
commit 57858d1fbd
14 changed files with 639 additions and 91 deletions

View File

@@ -31,7 +31,7 @@ $nn = 0;?>
<h2 class="main-card-title"><a href="<?the_permalink();?>"><?the_title();?></a></h2>
<div class="main-card-body">
<div class="main-card-text"><a href="<?the_permalink();?>"><?the_excerpt();?></a></div>
<div class="news_date"><?the_time('j F Y, G:i');?></div>>
<div class="news_date"><?the_time('j F Y, G:i');?></div>
</div>
</div>
@@ -63,16 +63,8 @@ $nn = 0;?>
<?php endif;?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?><div class="pagination-wrapper"><?php the_posts_pagination( array(
'prev_text' => __( 'Предыдущая', 'quidus' ),
'next_text' => __( 'Следующая', 'quidus' ),
'end_size' => 2,
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'quidus' ) . ' </span>',
) );
?></div><?php endif;?>
</div> <!-- end content -->
<?get_template_part( '/blocks/paginator');?>
</div>
<?php get_footer(); ?>