Limit story blog posts to authors
This commit is contained in:
parent
b4ee0ca3ec
commit
03ec595c01
@ -42,6 +42,7 @@ $category = implode( ', ', wp_get_post_categories( $args['story_id'] ) );
|
||||
|
||||
$blog_posts = new WP_Query(
|
||||
array (
|
||||
'author__in' => fictioneer_get_post_author_ids( $story_id ),
|
||||
'nopaging' => false,
|
||||
'posts_per_page' => 10,
|
||||
'cat' => $category == 0 ? '99999999' : $category,
|
||||
|
Loading…
x
Reference in New Issue
Block a user