From 49c74c2b6cd75f4b36b507af760864ccf59219b2 Mon Sep 17 00:00:00 2001 From: Ross Trottier Date: Tue, 9 Jul 2024 14:33:05 -0600 Subject: [PATCH] Front page sections have dynamic links --- front-page.php | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/front-page.php b/front-page.php index 0f82e46..a5d7abf 100644 --- a/front-page.php +++ b/front-page.php @@ -79,7 +79,11 @@
-

Tech

+ +

-
- -
-

Gravel

+

+ 4, 'category_name' => $section_category, @@ -164,7 +168,7 @@ 'post_type' => 'post', 'post_status' => 'publish' ); - query_posts($post_section_three_featured_args); + query_posts( $post_section_three_featured_args ); if (have_posts()) : while (have_posts()) : the_post(); $category = get_the_category()[0]; ?> @@ -189,9 +193,12 @@
-

Lifestyle

+

+ 1, 'category_name' => $section_category, @@ -274,9 +281,12 @@
-

Opinion

- +

+ 1, 'category_name' => $section_category, @@ -347,9 +357,12 @@
-

Race Reports

+

+ 4, 'category_name' => $section_category,