Archived topic
Show CPT meta in CPT archive
5 replies · Started by wekhter on January 2, 2019
I have set up a new CPT w/ archive, and customized how I want the posts to display (column) except for one thing: I'd like to show the published date under the titles on the archive page.
The author/publish date show up by default under post titles in the blog, but aren't showing up on the CPT archive. How can I get them to appear?
Also, can I get the most recent post featured on CPT archives, like I can set up for the main blog?
Hi there,
Is this what you are looking for?
https://docs.generatepress.com/article/generate_entry_meta_post_types/
@Leo That sounded like what I wanted, but even after using that snippet, no meta shows up in the archive.
Edit: Oops! I was looking at the wrong page. It worked! Is there any way to make it show only the date instead of the date + author without changing the settings for the blog as well?
@Leo Thanks, found everything I needed on that page. :) Great resource!
No problem :)
Filters are neat. Every option within the customizer is filterable as well.