correct page number

This commit is contained in:
arlemp@selectel.ru
2021-12-24 18:40:40 +03:00
parent 8edb2ec3e4
commit 4ef8026dc6
5 changed files with 30 additions and 25 deletions

View File

@@ -107,6 +107,22 @@
</div>
</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';?>

View File

@@ -4,7 +4,7 @@
<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">
<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">
<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>

View File

@@ -74,22 +74,6 @@ $nn = 0;?>
<?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 -->

View File

@@ -84,21 +84,20 @@ get_header();?>
<?$category = get_the_category($item->ID);
$category_id = $category[0]->term_id;
$category_link = get_category_link($category_id);?>
<div class="main-card">
<?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>
<?if( has_tag( 'видео' ) ):?>
<span class="play-card"></span>
<?endif?>
</div>
<?endif?>
<div class="main-card-title"><a href="<?the_permalink($item->ID);?>"><?=get_the_title($item->ID);?></a></div>
<?endif?><br>
<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-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>
</div>
<?endforeach?>
<?endif?>
<?}?>

View File

@@ -1059,8 +1059,14 @@ a{
}
.polosa-img{
width: 100%;
padding-right: 16px;
}
.mini-card-number-img{
width: 147px;
magin
}
.mini-card-number{