From 74188a838d4a8245a5dffee13c128cb694ddc58c Mon Sep 17 00:00:00 2001 From: Ross Trottier Date: Thu, 20 Jun 2024 17:04:13 -0600 Subject: [PATCH] front page article drafts --- front-page.php | 138 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 137 insertions(+), 1 deletion(-) diff --git a/front-page.php b/front-page.php index 6cbbab3..1457f37 100644 --- a/front-page.php +++ b/front-page.php @@ -1,6 +1,7 @@
+

Latest

+ endif; + wp_reset_postdata(); + ?> +
+ + +
+

Tech

+ 1, + 'category_name' => 'Tech', + 'orderby' => 'post_date', + 'order' => 'DESC', + 'post_type' => 'post', + 'post_status' => 'publish' + ); + query_posts($post_section_three_featured_args); + if (have_posts()) : while (have_posts()) : the_post(); + $category = get_the_category()[0]; + $author = get_userdata( $post->post_author ); + ?> + + + 5, + 'offset' => 1, + 'category_name' => 'Tech', + 'orderby' => 'post_date', + 'order' => 'DESC', + 'post_type' => 'post', + 'post_status' => 'publish' + ); + query_posts($post_section_two_args); + if (have_posts()) : while (have_posts()) : the_post(); + $category = get_the_category()[0]; + $author = get_userdata( $post->post_author ); + ?> + + + +
+ +
+

Products

+ 1, + 'category_name' => 'Products', + 'orderby' => 'post_date', + 'order' => 'DESC', + 'post_type' => 'post', + 'post_status' => 'publish' + ); + query_posts($post_section_three_featured_args); + if (have_posts()) : while (have_posts()) : the_post(); + $category = get_the_category()[0]; + $author = get_userdata( $post->post_author ); + ?> + + + 5, + 'offset' => 1, + 'category_name' => 'Products', + 'orderby' => 'post_date', + 'order' => 'DESC', + 'post_type' => 'post', + 'post_status' => 'publish' + ); + query_posts($post_section_two_args); + if (have_posts()) : while (have_posts()) : the_post(); + $category = get_the_category()[0]; + $author = get_userdata( $post->post_author ); + ?> + + + +
+
\ No newline at end of file