add block-cache-manager.php
This commit is contained in:
@@ -36,14 +36,7 @@ $colon_query = new WP_Query(
|
||||
|
||||
<div class="d-flex" >
|
||||
|
||||
<div class="blog"
|
||||
itemscope
|
||||
<?php if( get_post_type() == "profile_article"): ?>
|
||||
itemtype="https://schema.org/Article"
|
||||
<?php else: ?>
|
||||
itemtype="https://schema.org/NewsArticle"
|
||||
<?php endif; ?>
|
||||
>
|
||||
<div class="blog">
|
||||
|
||||
<a class="blog__frame" href="<?= the_permalink() ?>">
|
||||
|
||||
@@ -73,13 +66,13 @@ $colon_query = new WP_Query(
|
||||
|
||||
</a>
|
||||
|
||||
<?php get_template_part("template-parts/micro/post"); ?>
|
||||
<?php //get_template_part("template-parts/micro/post"); ?>
|
||||
|
||||
<div class="blog__detail">
|
||||
|
||||
<?php get_template_part("template-parts/post/blog-date"); ?>
|
||||
|
||||
<?php get_template_part("template-parts/post/blog-author"); ?>
|
||||
<?php get_template_part("template-parts/post/colon-author"); ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,13 +1,18 @@
|
||||
<!--[home/index]-->
|
||||
|
||||
|
||||
<?php get_template_part("template-parts/home/news"); ?>
|
||||
<?php //get_template_part("template-parts/home/news");
|
||||
cached_get_template_part( 'template-parts/home/news' );?>
|
||||
|
||||
<div class="col-12 col-md-8 col-xl-6 float-left">
|
||||
|
||||
<?php get_template_part("template-parts/home/main-item") ?>
|
||||
<?php //get_template_part("template-parts/home/main-item");
|
||||
cached_get_template_part( 'template-parts/home/main-item' );
|
||||
?>
|
||||
|
||||
<?php get_template_part("template-parts/home/colon-item") ?>
|
||||
<?php //get_template_part("template-parts/home/colon-item");
|
||||
cached_get_template_part( 'template-parts/home/colon-item' );
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -22,7 +27,8 @@
|
||||
</div>
|
||||
|
||||
|
||||
<?php get_template_part("template-parts/home/list-items") ?>
|
||||
<?php //get_template_part("template-parts/home/list-items") ?>
|
||||
<?php cached_get_template_part( 'template-parts/home/list-items' ); ?>
|
||||
|
||||
|
||||
<?php get_template_part("template-parts/home/ajax-load-more") ?>
|
||||
|
||||
Reference in New Issue
Block a user