add liveinternet

This commit is contained in:
2023-03-23 13:18:58 +03:00
parent f44ba2d6c7
commit 5f000ece92
11 changed files with 102 additions and 37 deletions

View File

@@ -13,6 +13,9 @@ $nn = 0;?>
<h1 id="mainpage-title">Главное</h1>
<?include(get_template_directory().'/blocks/mainnews.php');?>
<?//include(get_template_directory().'/blocks/mainnews_happy.php');?>
<?php $query = new WP_Query(
array(
@@ -38,11 +41,12 @@ $nn = 0;?>
<?$nn++?>
<?if ($nn == 5):?>
<?card_post_id(25830, '');?>
<?endif?>
<?//if ($nn == 5):
// card_post_id(25830, '');
// include get_template_directory().'/blocks/card_post_happy.php';
//endif?>
<?if ($nn < 24):?>
<?if ($nn < 25):?>
<div class="mini-card">
<?if ( has_post_thumbnail() ) :?>
@@ -88,7 +92,10 @@ $nn = 0;?>
<?get_template_part( '/blocks/citats', null, ['subclass' => 'mob-lite']);?>
</div> <!-- end content -->
<?php //include get_template_directory().'/blocks/popunder.php';?>
<?php get_footer(); ?>