add liveinternet
This commit is contained in:
15
index.php
15
index.php
@@ -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(); ?>
|
||||
|
||||
Reference in New Issue
Block a user