Posts from current category
-
Hello!
Have not tryed your plugin yet. But I looking for special feature.
I need to show recent posts only for category (include all childs) of the current post (just its main category). This means list of recent posts will be different for posts from different categories.
I don’t see this in features of your plugin. But looks like I can do this with rpwe_default_query_arguments filter, correct?
Something like this?
add_filter( 'rpwe_default_query_arguments', 'rpwe_change_category' ); function rpwe_change_category( $args ) { $args['cat'] = $current_cat_id; return $args; }
Is arg name correct?
- The topic ‘Posts from current category’ is closed to new replies.