add actual version
This commit is contained in:
@@ -32,6 +32,11 @@
|
||||
$terms
|
||||
);
|
||||
|
||||
|
||||
$posts_count = $wp_query->post_count;
|
||||
|
||||
if ( $posts_count > 10 ){
|
||||
|
||||
$index_alm_shortcode = '
|
||||
[ajax_load_more
|
||||
cache="true"
|
||||
@@ -52,6 +57,8 @@
|
||||
|
||||
echo do_shortcode( $index_alm_shortcode );
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<!--[/archive/ajax-load-more/author]-->
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<?php get_template_part("template-parts/header/uparrow") ?>
|
||||
|
||||
<?php get_template_part("template-parts/cell-promo") ?>
|
||||
<?php //get_template_part("template-parts/cell-promo") ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
<div class="col-12 col-md-8 col-xl-6 float-left">
|
||||
|
||||
<?php //get_template_part("template-parts/home/main-item");
|
||||
cached_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");
|
||||
cached_get_template_part( 'template-parts/home/colon-item' );
|
||||
cached_get_template_part( 'template-parts/home/colon-item' );
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<?php if ( is_single() ) :?>
|
||||
<?php if ( is_single() or is_author() ) :?>
|
||||
<div class="header__title header__title--black font-weight-bold m-0 ml-5">
|
||||
<?php get_template_part("template-parts/header/category-name") ?>
|
||||
</div>
|
||||
|
||||
@@ -1,15 +1,6 @@
|
||||
<!--[search/search-list-item]-->
|
||||
|
||||
<div class="newslist__item"
|
||||
itemscope
|
||||
<?php if( get_post_type() == "profile_article"): ?>
|
||||
itemtype="https://schema.org/Article"
|
||||
<?php else: ?>
|
||||
itemtype="https://schema.org/NewsArticle"
|
||||
<?php endif; ?>
|
||||
>
|
||||
|
||||
<?php get_template_part("template-parts/micro/post"); ?>
|
||||
<div class="newslist__item">
|
||||
|
||||
<div class="d-flex">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user