Site logo

Archived topic

Archives based in the post_format

1 reply · Started by Lucas on August 23, 2018

Viewing posts 1–2 of 2

Hello I'm using post format in my site.

So i need to display diferent archives based in the post format.

I found that i could use this url for displaying a list of post formats:

mysite.com/type/quote/

I'm having problems to find out how to display the standard post_format.

In adition i need to display a section hero for each post format archive that i'm using.
So i'm using the conditional tag is_home() in order to display a global header for all post_formats in my archive.
But i dont know how to add a hero section for this post_format archive:
mysite.com/type/quote/ is there any atributte i could use in the conditonal is_archive() ?

Is there a way of achive this? all based in the post format?
Or should i implement a system based in tags or categories? In order to use Elements feature, and the display conditions?

Thanks in advance.

Good question! I've never actually tried displaying posts for specific post formats. Did /type/standard not work? I couldn't actually find the answer anywhere - it may be worth asking over on https://wordpress.stackexchange.com/.

I'm also having trouble finding a function to check if we're on a post format archive. There should be something like is_post_type_archive(), but it doesn't exist.

Tags and categories would definitely be easier, as there's been a lot more work done to those than post formats.

This archived topic is closed to new replies.