I want a page to view only a specific post format (e.g. aside).
Do I have to create my own page and run a custom query, or does Wordpress have an automatic page generated for me (like the categories)?
|
I want a page to view only a specific post format (e.g. aside). Do I have to create my own page and run a custom query, or does Wordpress have an automatic page generated for me (like the categories)? |
|||
|
|
|
Take a look at get_post_format_link() Here's a little example that uses
usage:
The URL Structure is:
So for an aside we'd have:
|
|||||
|
|
You would need to add theme support for post formats with code.
The code above is what you'd put in your theme's
See the Codex for more info: http://codex.wordpress.org/Post_Formats#Adding_Theme_Support |
|||||||
|