updated front page cats

This commit is contained in:
Ross Trottier 2024-08-12 14:58:07 -06:00
parent df2f48e952
commit 294e423b0b

View File

@ -77,12 +77,11 @@
<!-- TECH SECTION -->
<section class="st-article-section st-article-section-bottom">
<?php
$section_category = 'Tech';
$section_category = 'News';
$section_category_id = get_cat_ID( $section_category );
?>
<h2 class="st-article-section-title"><?php echo $section_category; ?> <a href="<?php echo get_category_link( $section_category_id ); ?>" class="st-article-section-category-link">></a></h2>
<?php
$section_category = 'Tech';
$post_section_three_featured_args = array(
'showposts' => 1,
'category_name' => $section_category,
@ -154,7 +153,7 @@
<!-- FLAT HORIZONTAL SECTION HERE -->
<section class="st-article-section st-article-section-wide">
<?php
$section_category = 'Gravel';
$section_category = 'Cycling';
$section_category_id = get_cat_ID( $section_category );
?>
<h2 class="st-article-section-title"><?php echo $section_category; ?><a href="<?php echo get_category_link( $section_category_id ); ?>" class="st-article-section-category-link">></a></h2>
@ -201,7 +200,7 @@
<section class="st-article-section-grid">
<section class="st-article-section st-article-section-highlight">
<?php
$section_category = 'Lifestyle';
$section_category = 'Industry';
$section_category_id = get_cat_ID( $section_category );
?>
<h2 class="st-article-section-title"><?php echo $section_category; ?> <a href="<?php echo get_category_link( $section_category_id ); ?>" class="st-article-section-category-link">></a></h2>
@ -285,7 +284,7 @@
<section class="st-article-section st-article-section-bottom">
<?php
$section_category = 'Opinion';
$section_category = 'Running';
$section_category_id = get_cat_ID( $section_category );
?>
<h2 class="st-article-section-title"><?php echo $section_category; ?> <a href="<?php echo get_category_link( $section_category_id ); ?>" class="st-article-section-category-link">></a></h2>
@ -363,7 +362,7 @@
<!-- FLAT HORIZONTAL SECTION HERE -->
<section class="st-article-section st-article-section-wide">
<?php
$section_category = 'Race Reports';
$section_category = 'Training';
$section_category_id = get_cat_ID( $section_category );
?>
<h2 class="st-article-section-title"><?php echo $section_category; ?> <a href="<?php echo get_category_link( $section_category_id ); ?>" class="st-article-section-category-link">></a></h2>