add actual version

This commit is contained in:
masterforweb
2026-01-12 13:37:40 +03:00
parent 2a322664b5
commit 2aff9ab6b1
14 changed files with 267 additions and 73 deletions

View File

@@ -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]-->

View File

@@ -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; ?>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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">