I would like to know what template wordpress uses to display post formats archive pages? What is parent template file that is used when there is no specified template file and what is specified template file that covers all post formats templates? Also is there a way to know if loaded page is post formats archive page?
Post formats are used to customize posts according to their "meta" content, but they are always posts and as posts they will be listed on archive and category pages.
Please take a look at WordPress Codex - Template Hierarchy section.
An archive ( posts by year, month, day ) page, normally runs over
Yes there is. You can use
Yes there is. You can display specific format posts in your archive.php with
Hope it helps!
Post format is a taxonomy.
Not post type, nor meta.
The difference from categories, tags, custom taxonomies and post format is that the post format terms can be (at this time) a set of 9 terms.
Note that the post format 'Standard' does not exist, setting a post to standard post format means set no post format.
So arbitrary post format cannot exist, but the ones that exist are taxonomy terms.
Note also that the slug of this taxonomy is something like
Once they are taxonomy terms, you have to see Template Hierarchy regarding taxonomy:
Again it is a taxonomy. So
I bet that now you are asking what is the url that request post format archives?
I've to say that when no pretty permalinks are activated the link is something like
With pretty permalinks activated, by default, it is something like:
Note that the url
I've said 'by default' because the rewrite base 'type' for post format can be changed via the
However, to get the correct link to the post format archive is possible to use the get_post_format_link function.