add fa
This commit is contained in:
33
single.php
33
single.php
@@ -1,6 +1,7 @@
|
||||
<?php get_header();?>
|
||||
|
||||
<div id="main">
|
||||
|
||||
|
||||
<div>
|
||||
<?//while(have_posts()):?>
|
||||
|
||||
@@ -10,26 +11,42 @@
|
||||
?>
|
||||
|
||||
<div class="post_info">
|
||||
<a href="<?=$category_link?>"><?=$category['0']->name;?></a>, <?php the_time('j F Y, G:i');?>
|
||||
<div class="post_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_info_sub">
|
||||
<i class="fab fa-vk btn_soc_post"></i> <i class="fab fa-facebook-square btn_soc_post"></i> <i class="fab fa-telegram-plane btn_soc_post"></i>
|
||||
</div>
|
||||
</div>
|
||||
<h1 class="my-4"><?php wp_title('');?></h1>
|
||||
<?$author = the_author();
|
||||
if ( ! empty ( $author ) ):?>
|
||||
<div class="post_author">
|
||||
Автор: <?php $author; ?>
|
||||
</div>
|
||||
<?endif?>
|
||||
<div class="publ_expert"><?php the_excerpt();?></div>
|
||||
<img class="img-fluid rounded" src="<?php echo get_the_post_thumbnail_url(null, 'full');?>" alt="<?the_title();?>">
|
||||
<div class="post_img_title"><?the_post_thumbnail_caption()?></div>
|
||||
<?the_content();?>
|
||||
<!--<p><small class="text-muted"><?php the_tags('');?></small></p> -->
|
||||
<?//endwhile;?>
|
||||
<?//endwhile;?>
|
||||
|
||||
<div class="post_author">
|
||||
Автор: <?php the_author(); ?>
|
||||
</div>
|
||||
<?php include get_template_directory().'/blocks/yets.php';?>
|
||||
|
||||
<div class="post_panel_info">
|
||||
<a href="<?=$category_link?>"><?=$category['0']->name;?></a>, <?php the_time('j F Y, G:i');?> Поделиться
|
||||
<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> <i class="fab fa-vk btn_soc_post"></i> <i class="fab fa-facebook-square btn_soc_post"></i> <i class="fab fa-telegram-plane btn_soc_post"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include get_template_directory().'/blocks/moread.php';?>
|
||||
|
||||
<div class="publ-to-main"><a href="http://beta.vetandlife.ru"> <span class="arrow-go-main"><</span> <span class="go-to-main">На главную</span></a></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@@ -37,7 +54,7 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user