show all posts
-
would it be possible that you extend your plugin code in plugin.class.php with something like this:
$args = array(
// ‘cat’ => $data[‘category’],
‘posts_per_page’ => -1,
‘post__not_in’ => $exclude_ids_arr
);
if($data[‘taxonomy’]){
$args[‘tax_query’] = array(
array(
‘taxonomy’ => $data[‘taxonomy’],
‘terms’ => array( $data[‘term’] ),
‘include_children’ => true,
),
);
}now it would be possible to show ALL posts, something like “latest posts” by not selecting a category.
of course it would be better if there was an option for that, but i only wanted to show you what i mean
- The topic ‘show all posts’ is closed to new replies.