projects
/
WP-Themes
/
staffords.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26094a6
)
Reduce recent posts to 4.
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 4 Feb 2016 15:18:12 +0000
(10:18 -0500)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 4 Feb 2016 15:18:12 +0000
(10:18 -0500)
parts/blog-sidebar-r.php
patch
|
blob
|
history
diff --git
a/parts/blog-sidebar-r.php
b/parts/blog-sidebar-r.php
index
ebf0ace
..
b645d4a
100644
(file)
--- a/
parts/blog-sidebar-r.php
+++ b/
parts/blog-sidebar-r.php
@@
-8,7
+8,7
@@
<p>Recent Posts</p>
<ul>
<?php
- $number_recents_posts =
5
;
+ $number_recents_posts =
4
;
$args=array('numberposts' => $number_recents_posts,'post_status'=>'publish');
$recent_posts = wp_get_recent_posts( $args );
foreach( $recent_posts as $recent ){