full eng version
This commit is contained in:
34
page.php
Normal file
34
page.php
Normal 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();?>
|
||||
Reference in New Issue
Block a user