I want to display all posts of a post format (let’s say: aside). In WordPress to display all posts of a certain category, just need to use this URL: mysite.com/category/mycategory. Is there a similar way to display all posts of a post format? Or any other way is also fine for me.
Share
You could use tax_query parameters to get the posts by post_format. For example:
Then you can iterate over the results with get_posts() (or use WP_Query() and a standard a Loop):