mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogrow.git
synced 2025-08-27 00:45:33 +08:00
Fix default featured count
This commit is contained in:
parent
902bc7dac5
commit
37c59ce2e1
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ $featured = new WP_Query(
|
|||
'update_post_meta_cache' => false,
|
||||
'update_post_term_cache' => false,
|
||||
'ignore_sticky_posts' => 1,
|
||||
'posts_per_page' => get_theme_mod('featured-posts-count'),
|
||||
'cat' => get_theme_mod('featured-category')
|
||||
'posts_per_page' => get_theme_mod('featured-posts-count','6'),
|
||||
'cat' => get_theme_mod('featured-category','')
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue