add cache blocks

This commit is contained in:
arlemp@selectel.ru
2021-11-03 00:08:16 +03:00
parent 2d174073fd
commit dfcd1458ab
8 changed files with 121 additions and 48 deletions

View File

@@ -5,21 +5,15 @@
?>
<div id="left">
<?php wp_nav_menu( array(
'menu_class'=>'menu_left',
'theme_location'=>'left'
));?>
<?php include VIJ_CACHE.'leftmenu.html';?>
<?php get_template_part( '/blocks/opinion', null, ['subclass' => '']);?>
<?php // get_template_part( '/blocks/opinion', null, ['subclass' => '']);?>
<?php include VIJ_CACHE.'opinion.html';?>
<?php //get_template_part( '/blocks/citata', null, ['subclass' => '']);?>
<?php get_template_part( '/blocks/events');?>
<?php //include VIJ_CACHE.'events.html';?>
<div class="right-info">
<a href="https://vetandlife.ru/vetspetsialist-sportsmenka-i-prosto-kras/">
@@ -57,7 +51,8 @@
<div class="soc_btn soc_instagram"></div> -->
</div>
<?php include get_template_directory().'/blocks/archive.php';?>
<?php //include get_template_directory().'/blocks/archive.php';?>
<?php include VIJ_CACHE.'archive.html'?>
<div id="subscript_box">
<div id="convert"></div>
@@ -90,8 +85,10 @@
</div>
<?php get_template_part( '/blocks/zakons');?>
<?php //include VIJ_CACHE.'zakons.html';?>
<?get_template_part( '/blocks/mosts', null, ['subclass' => '']);?>
<?//get_template_part( '/blocks/mosts', null, ['subclass' => '']);?>
<?php include VIJ_CACHE.'mosts.html';?>
</div>
</div><!-- end main -->
<footer>