This commit is contained in:
Jerry
2022-11-24 12:37:46 +01:00
parent 350f04cc4d
commit 89d88825e0
4 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ get_header();
<div class="cont">
<div class="inner-cont">
<h4>More from the Blog</h4>
<div class="bp-list">
<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(); ?>">
<span class="bp-img">