This commit is contained in:
Jerry
2022-12-14 11:16:01 +01:00
parent 8aa4ed2497
commit 414028676c
3 changed files with 6 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ get_header();
<div class="mp-blog">
<div class="cont">
<div class="inner-cont">
<h4 class="text-header">More from the Blog</h4>
<h4 class="text-header">Our Blog</h4>
<div class="bp-list cat-all">
<?php foreach ($posts as $post): ?>
<a class="bp-block <?php $categories = get_the_category(); foreach($categories as $category):?><?= $category->slug; ?> <?php endforeach;?>" href="<?=get_permalink(); ?>">
@@ -24,6 +24,9 @@ get_header();
</a>
<?php endforeach; ?>
</div>
<div class="bp-btns">
<a href="/blog" class="button secondary">Browse all blog articles</a>
</div>
</div>
</div>
</div>