Fix: remove duplicate author-bio includes, add author images, move inline styles
- Remove author-bio.php and article-footer.php duplicate inclusions from inside related article cards across 17 articles (was rendering 4x per page) - Create /assets/images/authors/ with SVG avatars for all 7 named authors - Move inline <style> block out of author-bio.php into main.css
This commit is contained in:
@@ -1182,33 +1182,13 @@ $read_time = 12;
|
||||
<article class="related-card">
|
||||
<h3><a href="predictive-analytics-customer-churn.php">Predictive Analytics for Customer Churn Prevention</a></h3>
|
||||
<p>Learn how to build and implement predictive models that identify at-risk customers before they leave.</p>
|
||||
<span class="read-time">10 min read</span>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/article-footer.php'); ?>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="related-card">
|
||||
<span class="read-time">10 min read</span> <article class="related-card">
|
||||
<h3><a href="../categories/business-intelligence.php">More Business Intelligence Articles</a></h3>
|
||||
<p>Explore our complete collection of business intelligence guides, best practices, and case studies.</p>
|
||||
<span class="read-time">Browse category</span>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/article-footer.php'); ?>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="related-card">
|
||||
<span class="read-time">Browse category</span> <article class="related-card">
|
||||
<h3><a href="/case-studies/">Dashboard Success Stories</a></h3>
|
||||
<p>See real-world examples of successful dashboard implementations across different industries.</p>
|
||||
<span class="read-time">Multiple studies</span>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/article-footer.php'); ?>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<span class="read-time">Multiple studies</span> </div>
|
||||
</section>
|
||||
</div>
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/author-bio.php'); ?>
|
||||
|
||||
Reference in New Issue
Block a user