forked from LiveCarta/LiveCartaWP
home page blogs fix
This commit is contained in:
@@ -9,8 +9,14 @@ get_header();
|
|||||||
<div class="content no-pb">
|
<div class="content no-pb">
|
||||||
<div class="main-page">
|
<div class="main-page">
|
||||||
<?php the_content();?><!--home page content from wp admin wysiwyg -->
|
<?php the_content();?><!--home page content from wp admin wysiwyg -->
|
||||||
<div class="blog-page">
|
<div class="mp-blog">
|
||||||
<div class="bp-list cat-all">
|
<div class="cont">
|
||||||
|
<div class="promo-header">
|
||||||
|
<div class="cont">
|
||||||
|
<h3>More from the Blog</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="bp-list">
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<?php foreach ($posts as $post): ?>
|
<?php foreach ($posts as $post): ?>
|
||||||
<a href="<?=get_permalink(); ?>" class="bp-block <?php $categories = get_the_category(); foreach($categories as $category):?><?= $category->slug; ?> <?php endforeach;?>">
|
<a href="<?=get_permalink(); ?>" class="bp-block <?php $categories = get_the_category(); foreach($categories as $category):?><?= $category->slug; ?> <?php endforeach;?>">
|
||||||
@@ -22,6 +28,7 @@ get_header();
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="mp-small-block bot-flex">
|
<div class="mp-small-block bot-flex">
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
|
|||||||
Reference in New Issue
Block a user