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

@@ -24,7 +24,7 @@ $nn = 0;?>
<div id="content">
<h1 class="my-4">Главное</h1>
<h1 id="mainpage-title">Главное</h1>
<?php if($query->have_posts()) : while($query->have_posts()) : $query->the_post();?>
@@ -75,10 +75,9 @@ $nn = 0;?>
<?php wp_reset_postdata();?>
<?php mob_block('/blocks/opinion.php');?>
<?php mob_block('/blocks/citata.php');?>
<?php mob_block('/blocks/mosts.php');?>
<?get_template_part( '/blocks/opinion', null, ['subclass' => 'mob-lite']);?>
<?get_template_part( '/blocks/citata', null, ['subclass' => 'mob-lite']);?>
<?get_template_part( '/blocks/mosts', null, ['subclass' => 'mob-lite']);?>
</div> <!-- end content -->