Hi
I needed to add a filter for this. Which to use you will need to add some code as adding it to the shortcode is just too complicated
/**
* Filter the users last post Query
*
* @since 1.9.7
*
* @param string Query.
* @param int $user_id The Current user ID.
*/
$my_query = new WP_Query( apply_filters( 'aa_user_show_last_post_query', $args, $user_id ) );
Here is an example block of code. Put it in your theme function file (if you don’t have better location)
add_filter( 'aa_user_show_last_post_query', 'aa_user_show_last_post_query', 10, 2 );
function aa_user_show_last_post_query( $query, $user_id ){
$query['category_name'] = 'new, uncategorized'; // addjut as needed
return $query;
}
You will need to install the version from https://github.com/pbearne/wp-author-avatars/archive/master.zip or wait until I release 1.9.7 on WordPress.oeg