add cache footer menu

This commit is contained in:
Andrey Kuvshinov
2025-08-31 11:35:54 +03:00
parent 1ef46fcc22
commit 8e41471362
2 changed files with 3 additions and 2 deletions

View File

@@ -44,7 +44,8 @@
<span class="footer__age">16+</span> <span class="footer__age">16+</span>
<?php get_template_part("template-parts/nav/footer-nav") ?> <?php //get_template_part("template-parts/nav/footer-nav");
cached_get_template_part('template-parts/nav/footer-nav'); ?>
<span class="footer__delimiter"></span> <span class="footer__delimiter"></span>
<div class="footer__copyright"> <div class="footer__copyright">

View File

@@ -54,7 +54,7 @@
</div> </div>
<?php else:?> <?php else:?>
<h1 class="header__title header__title--black font-weight-bold m-0 ml-5"> <h1 class="header__title header__title--black font-weight-bold m-0 ml-5">
<?php get_template_part("template-parts/header/category-name") ?> <?php //get_template_part("template-parts/header/category-name") ?>
</h1> </h1>
<?php endif?> <?php endif?>