Fix default featured count

This commit is contained in:
Alexander Agnarson 2017-12-17 12:38:36 +01:00
parent 902bc7dac5
commit 37c59ce2e1

View file

@ -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','')
)
);
?>