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 --> <!-- TECH SECTION -->
<section class="st-article-section st-article-section-bottom"> <section class="st-article-section st-article-section-bottom">
<?php <?php
$section_category = 'Tech'; $section_category = 'News';
$section_category_id = get_cat_ID( $section_category ); $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> <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 <?php
$section_category = 'Tech';
$post_section_three_featured_args = array( $post_section_three_featured_args = array(
'showposts' => 1, 'showposts' => 1,
'category_name' => $section_category, 'category_name' => $section_category,
@ -154,7 +153,7 @@
<!-- FLAT HORIZONTAL SECTION HERE --> <!-- FLAT HORIZONTAL SECTION HERE -->
<section class="st-article-section st-article-section-wide"> <section class="st-article-section st-article-section-wide">
<?php <?php
$section_category = 'Gravel'; $section_category = 'Cycling';
$section_category_id = get_cat_ID( $section_category ); $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> <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-grid">
<section class="st-article-section st-article-section-highlight"> <section class="st-article-section st-article-section-highlight">
<?php <?php
$section_category = 'Lifestyle'; $section_category = 'Industry';
$section_category_id = get_cat_ID( $section_category ); $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> <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"> <section class="st-article-section st-article-section-bottom">
<?php <?php
$section_category = 'Opinion'; $section_category = 'Running';
$section_category_id = get_cat_ID( $section_category ); $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> <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 --> <!-- FLAT HORIZONTAL SECTION HERE -->
<section class="st-article-section st-article-section-wide"> <section class="st-article-section st-article-section-wide">
<?php <?php
$section_category = 'Race Reports'; $section_category = 'Training';
$section_category_id = get_cat_ID( $section_category ); $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> <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>