forked from LiveCarta/LiveCartaWP
wp fixes
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user