From 7e808ec01bc26fc301fffdd7d2002ef9008fa3ee Mon Sep 17 00:00:00 2001 From: Ross Trottier Date: Tue, 9 Jul 2024 14:43:18 -0600 Subject: [PATCH] recent articles page --- page-articles.php | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 page-articles.php diff --git a/page-articles.php b/page-articles.php new file mode 100644 index 0000000..2323b67 --- /dev/null +++ b/page-articles.php @@ -0,0 +1,38 @@ + + +
+
+ 25, 'post_status' => 'publish' ) ); + $count = $wp_the_query->post_count; + if (have_posts()) { + while (have_posts()) { + the_post(); + $category = get_the_category()[0]; + $count++; + ?> + + +
+ +
+ + \ No newline at end of file