Yes, using + should show posts that are in both those categories (AND operator). Using a comma will show posts that are in either of those categories (OR operator). More info here: http://codex.wordpress.org/Class_Reference/WP_Query#Category_Parameters
Is it possible to get this to work with tax_term as well?
I’ve just pushed a small update (didn’t change version number) that adds support for multiple taxonomy terms and the taxonomy operator.
[display-posts taxonomy="post_tag" tax_term="austin, lake"]
This will show posts tagged austin OR lake (if no operator is applied, it uses tax_operator=”IN”)
[display-posts taxonomy="post_tag" tax_term="austin, lake" tax_operator="AND"]
That will show posts tagged Austin AND lake
[display-posts taxonomy="post_tag" tax_term="austin, lake" tax_operator="NOT IN"]
This will show posts not tagged austin or lake.
Thanks!
Why not update the version number? Now I must update manually to get the changes. Isn’t it kind of defeating the purpose of version numbers to release changes without changing the numbers?
Because this is such a minor change (and specifically designed for you), there’s no reason to prompt the many other people to update.
in the same idea as this- what about doing this for custom post -types like Projects or Portfolio– looked in the forum first but didnt see anything. Thank you such an amazing project!!!
Post type is one of the default parameters of the shortcode. So if your post type is called “portfolio”,
[display-posts post_type=”portfolio”]
will show the 10 most recent posts in that post type