From 2bb9aaaf24b794b528e3894ee9f9c42ca6d7fe93 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 01 Jan 2026 21:08:58 +0000
Subject: [PATCH] =FeedRoutes: extractTaxonomies added
---
inc/blocks/TimelineBlock.php | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/inc/blocks/TimelineBlock.php b/inc/blocks/TimelineBlock.php
index 4d8e9d1..c16416b 100644
--- a/inc/blocks/TimelineBlock.php
+++ b/inc/blocks/TimelineBlock.php
@@ -51,7 +51,6 @@
}
$this->parentID = $post->ID;
$cache = $this->cache->get($this->parentID);
- $cache = false;
if ($cache) {
return $cache;
}
@@ -97,7 +96,7 @@
$many = count($terms) > 1;
?>
<li class="<?=$slug?>">
- <?=jvbIcon($config['icon']??'triangle')?>
+ <?=jvbIcon($config['icon']??jvbDefaultIcon())?>
<?php
if ($many) { echo '<ul>'; }
@@ -153,7 +152,7 @@
?>
<div class="info">
<header>
- <h2><?=jvbIcon('logo-triangle')?><?= $title?></h2>
+ <h2><?=jvbIcon(jvbLogoIcon())?><?= $title?></h2>
<?= array_key_exists('post_date', $fields) && $fields['date'] !== '' ? '<time>'.date('F Y', strtotime($fields['post_date'])).'</time>' : '' ?>
<?= array_key_exists('timeline', $fields) && $fields['timeline'] !== '' ? $this->outputTimelineTax($ID) : '' ?>
<?= array_key_exists('post_content', $fields) && $fields['post_content'] !== '' ? '<div class="content">'.wptexturize(wp_kses_post( wpautop($fields['post_content']))).'</div>' : '' ?>
--
Gitblit v1.10.0