2024-01-10 19:09:03 +03:00
|
|
|
|
<?php get_header();?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
|
|
|
|
|
|
|
|
<?//while(have_posts()):?>
|
|
|
|
|
|
<?the_post();?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php $category = get_the_category();
|
|
|
|
|
|
$category_id = $category[0]->term_id;
|
|
|
|
|
|
$category_link = get_category_link($category_id);
|
|
|
|
|
|
$post_id = get_the_ID();
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
<ul id="nav_content">
|
|
|
|
|
|
<li><a href="<?=get_site_url()?>/category/pets">Питомцы</li>
|
|
|
|
|
|
<li>-<li>
|
|
|
|
|
|
<li><a href="<?=$category_link?>"><?=$category['0']->name;?></a></li>
|
|
|
|
|
|
<li>-<li>
|
|
|
|
|
|
<li><?=mb_substr(get_the_title(), 0, 50);?>...</li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="post_info">
|
|
|
|
|
|
<div class="post_info_sub">
|
|
|
|
|
|
<span class="post_link_category"><a href="<?=$category_link?>"><?=$category['0']->name;?></a></span>, <nobr><?php the_time('j F Y, G:i');?></nobr>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="post_info_sub post_info_social">
|
|
|
|
|
|
<?php include get_template_directory().'/blocks/social-share.php';?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div id="fulltext">
|
|
|
|
|
|
<h1 class="post-h1"><?php wp_title('');?></h1>
|
|
|
|
|
|
<?$author = get_the_author();
|
|
|
|
|
|
if ( ! empty ( $author ) AND $author !== 'vetandlife.ru'):?>
|
|
|
|
|
|
<div class="post_author">
|
|
|
|
|
|
Автор: <?=the_author_posts_link()?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<?endif?>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="publ_expert"><?php the_excerpt();?></div>
|
|
|
|
|
|
<?if ( has_post_thumbnail() ) :?>
|
|
|
|
|
|
<div id="post-img">
|
|
|
|
|
|
<img class="img-fluid rounded" src="<?php echo get_the_post_thumbnail_url(null, 'full');?>" alt="<?the_title();?>">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="post_img_title"><?the_post_thumbnail_caption()?></div>
|
|
|
|
|
|
<?endif?>
|
|
|
|
|
|
<div class="fulltext">
|
|
|
|
|
|
<?the_content();?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="promo-agregators" style="text-align: center;">
|
|
|
|
|
|
<p>Читайте нас в <span class="promo-telega"><a href="https://t.me/ViZHuvizh" target="_blank">Telegram</a></span></p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="post_panel_info">
|
|
|
|
|
|
<div class="post_panel_info_sub">
|
|
|
|
|
|
<span class="post_link_category"><a href="<?=$category_link?>"><?=$category['0']->name;?></a></span>, <nobr><?php the_time('j F Y, G:i');?></nobr>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="post_panel_info_sub">
|
|
|
|
|
|
<!--Поделиться <i class="fas fa-share-square btn_soc_post"></i>--> <?php include get_template_directory().'/blocks/social-share.php';?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="promo-poll">
|
|
|
|
|
|
<strong>Какие новости интересны читателям «Ветеринарии и жизни»? <a href="https://vetandlife.ru/polls/opros-kakie-novosti-interesny-chitatelyam-veterinarii-i-zhizni/">Пройти опрос</a></strong>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--<p><small class="text-muted"><?php the_tags('');?></small></p> -->
|
|
|
|
|
|
<?//endwhile;?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-04 21:44:28 +03:00
|
|
|
|
<!-- Yandex.RTB R-A-4145099-6 -->
|
|
|
|
|
|
<div id="yandex_rtb_R-A-4145099-6"></div>
|
2024-01-10 19:09:03 +03:00
|
|
|
|
<script>
|
2024-04-04 21:44:28 +03:00
|
|
|
|
window.yaContextCb.push(()=>{
|
|
|
|
|
|
Ya.Context.AdvManager.render({
|
|
|
|
|
|
"blockId": "R-A-4145099-6",
|
|
|
|
|
|
"renderTo": "yandex_rtb_R-A-4145099-6"
|
|
|
|
|
|
})
|
|
|
|
|
|
})
|
2024-01-10 19:09:03 +03:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php include get_template_directory().'/blocks/yets.php';?>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="tags">
|
|
|
|
|
|
<?php the_tags();?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<?php include get_template_directory().'/blocks/moread.php';?>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="publ-to-main">
|
|
|
|
|
|
<button class="more_button" onclick="location.href='<?=get_site_url()?>/page/2'" type="button">
|
|
|
|
|
|
На главную</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php get_footer();?>
|