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

File diff suppressed because one or more lines are too long

View File

@@ -33,6 +33,7 @@
<a data-cat="cat-publishing" class="category-select link" href="#"><span>Publishing</span></a>
<a data-cat="cat-teaching" class="category-select link" href="#"><span>Teaching</span></a>
<a data-cat="cat-learning" class="category-select link" href="#"><span>Learning</span></a>
<a data-cat="cat-books" class="category-select link" href="#"><span>Books</span></a>
</div>
</div>
</div>

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">

View File

@@ -33,7 +33,7 @@
if($tags) {
foreach ($tags as $tag) {
$tag_link = get_tag_link($tag->term_id);
$tag_links[] = "<a href='{$tag_link}' title='{$tag->name}' class='{$tag->slug}'>{$tag->name}</a>";
$tag_links[] = "<span>{$tag->name}</span>";
}
}
?>