new blog v1

This commit is contained in:
Jerry
2020-09-18 11:14:40 +03:00
parent 5dc94cc52f
commit b4dfcaa63f
4 changed files with 115 additions and 8 deletions

View File

@@ -3,12 +3,18 @@
$post = get_post();
?>
<div class="content no-pb">
<div class="top-panel empty"></div>
<div class="cont">
<div class="text-page blog">
<h1><?=get_the_title($post); ?></h1>
<br>
<?=get_the_content(null,false, $post); ?>
<div class="blog-page-single">
<div class="blog-page-top">
<div class="bp-top-bg"></div>
<div class="cont">
<div class="bp-top-img" style="background-image: url(<?=get_the_post_thumbnail_url(); ?>);"></div>
<h1 class="bp-top-text"><?=get_the_title($post); ?></h1>
</div>
</div>
<div class="blog-body">
<div class="cont">
<?=get_the_content(null,false, $post); ?>
</div>
</div>
</div>
<div class="main-page">