correct page number
This commit is contained in:
16
footer.php
16
footer.php
@@ -107,6 +107,22 @@
|
|||||||
</div>
|
</div>
|
||||||
</div><!-- end main -->
|
</div><!-- end main -->
|
||||||
|
|
||||||
|
|
||||||
|
<div class="mobile-info">
|
||||||
|
<a href="https://www.youtube.com/channel/UCOXOjXmMNl8eVO4ldrv5c5Q" target="_blank">
|
||||||
|
<img src="https://vetandlife.ru/wp-content/uploads/2021/10/melano-live.png" width="240" height="200" />
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?get_template_part( '/blocks/mosts', null, ['subclass' => 'mob-lite']);?>
|
||||||
|
|
||||||
|
<div class="mobile-info">
|
||||||
|
<a href="https://vetandlife.ru/category/sdelano-chestno/?utm_medium=banner&utm_campaign=mobile&utm_source=site" target="_blank">
|
||||||
|
<img src="https://vetandlife.ru/wp-content/uploads/2021/12/fair_240x200.jpg" width="240" height="200" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php include get_template_directory().'/blocks/mobile-gazeta.php';?>
|
<?php include get_template_directory().'/blocks/mobile-gazeta.php';?>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<title><?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?></title>
|
<title><?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?></title>
|
||||||
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=118">
|
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=121">
|
||||||
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
|
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
|
||||||
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/jquery-3.6.0.min.js"></script>
|
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/jquery-3.6.0.min.js"></script>
|
||||||
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/golos.js"></script>
|
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/golos.js"></script>
|
||||||
|
|||||||
16
index.php
16
index.php
@@ -74,22 +74,6 @@ $nn = 0;?>
|
|||||||
|
|
||||||
<?get_template_part( '/blocks/citats', null, ['subclass' => 'mob-lite']);?>
|
<?get_template_part( '/blocks/citats', null, ['subclass' => 'mob-lite']);?>
|
||||||
|
|
||||||
<div class="mobile-info">
|
|
||||||
<a href="https://www.youtube.com/channel/UCOXOjXmMNl8eVO4ldrv5c5Q" target="_blank">
|
|
||||||
<img src="https://vetandlife.ru/wp-content/uploads/2021/10/melano-live.png" width="240" height="200" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?get_template_part( '/blocks/mosts', null, ['subclass' => 'mob-lite']);?>
|
|
||||||
|
|
||||||
<div class="mobile-info">
|
|
||||||
<a href="https://vetandlife.ru/category/sdelano-chestno/?utm_medium=banner&utm_campaign=mobile&utm_source=site" target="_blank">
|
|
||||||
<img src="https://vetandlife.ru/wp-content/uploads/2021/12/fair_240x200.jpg" width="240" height="200" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- end content -->
|
</div> <!-- end content -->
|
||||||
|
|
||||||
|
|||||||
15
single-3.php
15
single-3.php
@@ -84,21 +84,20 @@ get_header();?>
|
|||||||
<?$category = get_the_category($item->ID);
|
<?$category = get_the_category($item->ID);
|
||||||
$category_id = $category[0]->term_id;
|
$category_id = $category[0]->term_id;
|
||||||
$category_link = get_category_link($category_id);?>
|
$category_link = get_category_link($category_id);?>
|
||||||
|
|
||||||
<div class="main-card">
|
<div class="main-card">
|
||||||
<?if ( has_post_thumbnail($item->ID) ) :?>
|
<?if ( has_post_thumbnail($item->ID) ) :?>
|
||||||
<div class="card-img-top">
|
<div class="polosa-img">
|
||||||
<a href="<?the_permalink($item->ID);?>"><img src="<?php echo get_the_post_thumbnail_url($item->ID, 'large'); ?>" alt="<?=$item->title;?>"></a>
|
<a href="<?the_permalink($item->ID);?>"><img src="<?php echo get_the_post_thumbnail_url($item->ID, 'large'); ?>" alt="<?=$item->title;?>"></a>
|
||||||
<?if( has_tag( 'видео' ) ):?>
|
|
||||||
<span class="play-card"></span>
|
|
||||||
<?endif?>
|
|
||||||
</div>
|
</div>
|
||||||
<?endif?>
|
<?endif?><br>
|
||||||
<div class="main-card-title"><a href="<?the_permalink($item->ID);?>"><?=get_the_title($item->ID);?></a></div>
|
<div class="main-card-title"><p><a href="<?the_permalink($item->ID);?>"><?=get_the_title($item->ID);?></a></p></div>
|
||||||
<div class="main-card-body">
|
<div class="main-card-body">
|
||||||
<div class="main-card-text"><a href="<?the_permalink($item->ID);?>"><?=$item->post_excerpt?></a></div>
|
<div><a href="<?the_permalink($item->ID);?>"><?=$item->post_excerpt?></a></div><br>
|
||||||
<div class="news_date"><a href="<?=$category_link?>"><?=$category['0']->name?></a></div>
|
<div class="news_date"><a href="<?=$category_link?>"><?=$category['0']->name?></a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?endforeach?>
|
<?endforeach?>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
<?}?>
|
<?}?>
|
||||||
|
|||||||
Reference in New Issue
Block a user