add roskomnad
This commit is contained in:
11
category.php
11
category.php
@@ -46,9 +46,14 @@ $nn = 0;?>
|
|||||||
<?if ($nn > 1):?>
|
<?if ($nn > 1):?>
|
||||||
|
|
||||||
<div class="mini-card">
|
<div class="mini-card">
|
||||||
<?if ( has_post_thumbnail() ) :?>
|
<?if ( has_post_thumbnail() ) :?>
|
||||||
<a href="<?the_permalink();?>"><img class="mini-card-img" src="<?php echo get_the_post_thumbnail_url(null, 'full'); ?>" alt="<?the_title();?>"></a>
|
<div class="mini-card-img">
|
||||||
<?endif?>
|
<a href="<?the_permalink();?>"><img class="mini-card-img" src="<?php echo get_the_post_thumbnail_url(null, 'large'); ?>" alt="<?the_title();?>"></a>
|
||||||
|
<?if( has_tag( 'видео' ) ):?>
|
||||||
|
<span class="play-card"></span>
|
||||||
|
<?endif?>
|
||||||
|
</div>
|
||||||
|
<?endif?>
|
||||||
<h2 class="mini-card-title"><a href="<?the_permalink();?>"><?the_title();?></a></h2>
|
<h2 class="mini-card-title"><a href="<?the_permalink();?>"><?the_title();?></a></h2>
|
||||||
<div class="mini-card-body">
|
<div class="mini-card-body">
|
||||||
<div class="news_date"><?the_time('j F Y, G:i');?></div>
|
<div class="news_date"><?the_time('j F Y, G:i');?></div>
|
||||||
|
|||||||
@@ -137,7 +137,7 @@
|
|||||||
<div id="footer_2">
|
<div id="footer_2">
|
||||||
<div id="copy">© Ветеринария и жизнь 2021</div>
|
<div id="copy">© Ветеринария и жизнь 2021</div>
|
||||||
<ul id="svid">
|
<ul id="svid">
|
||||||
<li>Свидетельство о регистрации СМИ</li>
|
<li><a href="https://vetandlife.ru/wp-content/uploads/2021/11/vij-roskomnadzor.pdf" target="_blank">Свидетельство о регистрации СМИ</a></li>
|
||||||
<li><a href="https://vetandlife.ru/wp-content/uploads/2021/10/privacy.pdf" target="_blank">Политика конфидициальности</a></li>
|
<li><a href="https://vetandlife.ru/wp-content/uploads/2021/10/privacy.pdf" target="_blank">Политика конфидициальности</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -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=40">
|
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=44">
|
||||||
<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/burger-menu.js?ver=9"></script>
|
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/burger-menu.js?ver=9"></script>
|
||||||
|
|||||||
@@ -49,6 +49,9 @@ $nn = 0;?>
|
|||||||
<?if ( has_post_thumbnail() ) :?>
|
<?if ( has_post_thumbnail() ) :?>
|
||||||
<div class="mini-card-img">
|
<div class="mini-card-img">
|
||||||
<a href="<?the_permalink();?>"><img class="mini-card-img" src="<?php echo get_the_post_thumbnail_url(null, 'large'); ?>" alt="<?the_title();?>"></a>
|
<a href="<?the_permalink();?>"><img class="mini-card-img" src="<?php echo get_the_post_thumbnail_url(null, 'large'); ?>" alt="<?the_title();?>"></a>
|
||||||
|
<?if( has_tag( 'видео' ) ):?>
|
||||||
|
<span class="play-card"></span>
|
||||||
|
<?endif?>
|
||||||
</div>
|
</div>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
<h2 class="mini-card-title"><a href="<?the_permalink();?>"><?the_title();?></a></h2>
|
<h2 class="mini-card-title"><a href="<?the_permalink();?>"><?the_title();?></a></h2>
|
||||||
|
|||||||
19
style.css
19
style.css
@@ -393,7 +393,7 @@ a{
|
|||||||
border-radius: 47px;
|
border-radius: 47px;
|
||||||
border: 1px solid #171717;
|
border: 1px solid #171717;
|
||||||
color: #171717;
|
color: #171717;
|
||||||
padding: 10px 28px;
|
cursor: pointer;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
@@ -404,6 +404,7 @@ a{
|
|||||||
line-height: 110%;
|
line-height: 110%;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
margin-top: 22px;
|
margin-top: 22px;
|
||||||
|
padding: 10px 28px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -779,10 +780,26 @@ a{
|
|||||||
.mini-card-img{
|
.mini-card-img{
|
||||||
/** width: 372px;
|
/** width: 372px;
|
||||||
height: 216px; */
|
height: 216px; */
|
||||||
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.play-card{
|
||||||
|
position: absolute;
|
||||||
|
display: block;
|
||||||
|
background: url(https://vetandlife.ru/wp-content/themes/vij/pub/play.png);
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
top: 43%;
|
||||||
|
left: 45%;
|
||||||
|
background-size: 50px 50px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.card-img-top{
|
.card-img-top{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user