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