new archive
This commit is contained in:
@@ -24,7 +24,7 @@ get_header();?>
|
||||
<li><?=mb_substr(get_the_title(), 0, 50);?>...</li>
|
||||
</ul>
|
||||
|
||||
<?$current_pdf = number_pdf(get_the_title())?>
|
||||
<?$curr_number = number_info(get_the_title())?>
|
||||
|
||||
|
||||
<h1 class="post-h1">Федеральное отраслевое издание «Ветеринария и жизнь»</h1>
|
||||
@@ -36,11 +36,10 @@ get_header();?>
|
||||
</div>
|
||||
<div class="number_title">
|
||||
<div class="number_number"><?the_title()?></div>
|
||||
<?if ($current_pdf !== ''):?>
|
||||
<?if (isset($curr_number['guid'])):?>
|
||||
<div>
|
||||
<a href="<?=$current_pdf?>" class="orange_button" target="_blank">Читать PDF версию</a>
|
||||
<a href="<?=$curr_number['guid']?>" class="orange_button" target="_blank">Читать PDF версию</a>
|
||||
</div>
|
||||
<!-- <button class="sub_button" onclick="location.href='<?=$current_pdf?>'" type="button">Читать PDF версию</button> -->
|
||||
<?endif?>
|
||||
</div>
|
||||
<?endif?>
|
||||
|
||||
Reference in New Issue
Block a user