full eng version

This commit is contained in:
arlemp@selectel.ru
2021-12-13 13:11:04 +03:00
parent 1500b493c9
commit ab771b9679
7 changed files with 93 additions and 35 deletions

34
page.php Normal file
View File

@@ -0,0 +1,34 @@
<?php get_header();?>
<div id="content">
<?//while(have_posts()):?>
<?the_post();?>
<h1 class="post-h1" style="margin-top: 38px;"><?php wp_title('');?></h1>
<?$author = get_the_author();
if ( ! empty ( $author ) AND $author !== 'vetandlife.ru'):?>
<div class="post_author">
Автор: <?php the_author(); ?>
</div>
<?endif?>
<?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>
<?php get_footer();?>