2021-11-21 13:14:07 +03:00
|
|
|
|
<?php
|
|
|
|
|
|
require TEMPLATEPATH.'/helpers/number_title.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()?>">Главная</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>
|
|
|
|
|
|
|
2021-11-21 22:00:02 +03:00
|
|
|
|
<?$curr_number = number_info(get_the_title())?>
|
2021-11-21 13:14:07 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h1 class="post-h1">Федеральное отраслевое издание «Ветеринария и жизнь»</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="current-number">
|
|
|
|
|
|
<?if ( has_post_thumbnail() ) :?>
|
|
|
|
|
|
<div class="number-img">
|
|
|
|
|
|
<img class="img-fluid rounded" src="<?php echo get_the_post_thumbnail_url(null, 'full');?>" alt="<?the_title();?>">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="number_title">
|
|
|
|
|
|
<div class="number_number"><?the_title()?></div>
|
2021-11-21 22:00:02 +03:00
|
|
|
|
<?if (isset($curr_number['guid'])):?>
|
2021-11-21 13:14:07 +03:00
|
|
|
|
<div>
|
2021-11-21 22:00:02 +03:00
|
|
|
|
<a href="<?=$curr_number['guid']?>" class="orange_button" target="_blank">Читать PDF версию</a>
|
2021-11-21 13:14:07 +03:00
|
|
|
|
</div>
|
|
|
|
|
|
<?endif?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<?endif?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="promo-agregators">
|
|
|
|
|
|
<p>Свежие отраслевые новости на нашем канале в <span class="promo-telega"><a href="https://t.me/ViZHuvizh" target="_blank">Telegram</a></span></p>
|
|
|
|
|
|
<p>Добавьте «Ветеринарию и жизнь» в избранное в <a href="https://yandex.ru/news/?favid=254162793" target="_blank"><span style="color:red; font-weight: bold;">Я</span><span style="font-weight: bold; color:black;">НДЕКС.НОВОСТИ</span></a></p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<!--<p><small class="text-muted"><?php the_tags('');?></small></p> -->
|
|
|
|
|
|
<?//endwhile;?>
|
|
|
|
|
|
|
|
|
|
|
|
<?php include get_template_directory().'/blocks/yets.php';?>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="tags">
|
|
|
|
|
|
<?php the_tags();?>
|
|
|
|
|
|
</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>, <?php the_time('j F Y, G:i');?>
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
|
|
|
|
<?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();?>
|