From: Laury GvR Date: Tue, 20 Aug 2019 23:17:42 +0000 (-0400) Subject: Add recent Press Release sidebar to its category display X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=abf373a5ad11989934c781fe77f9f9371109b9ad;p=WP-Themes%2Fsaultstemarie.git Add recent Press Release sidebar to its category display --- diff --git a/archive.php b/archive.php index 291e50c..5d1ce27 100644 --- a/archive.php +++ b/archive.php @@ -48,10 +48,6 @@ - + diff --git a/home.php b/home.php index 9b134ff..64fa5f7 100644 --- a/home.php +++ b/home.php @@ -54,11 +54,7 @@ - + diff --git a/parts/blog-sidebar-r.php b/parts/blog-sidebar-r.php index 3b0629a..e99e1a3 100644 --- a/parts/blog-sidebar-r.php +++ b/parts/blog-sidebar-r.php @@ -1,5 +1,17 @@
+ +

Recent Releases

+
    + '5', 'post_status' => 'publish', 'category' => 219 ); + $recent_posts = wp_get_recent_posts( $args ); + foreach( $recent_posts as $recent ){ + echo '
  • ' . $recent["post_title"].'
  • '; + } + ?> +
+
@@ -35,4 +47,5 @@
+
\ No newline at end of file diff --git a/single.php b/single.php index 5cb8666..74f935f 100644 --- a/single.php +++ b/single.php @@ -61,9 +61,7 @@
- - - +