Custom post types with Twenty Twenty-Four
-
I work at a non-profit and on our older website, I created a custom post type called “Case Studies” a long time ago. I set up a taxonomy within the case studies post type that governs the type of case study (Living Building Challenge, Living Product Challenge, etc). On the existing website, to view the archives for just the specific types, the URL is /programs/$slug.
We’re currently going through a brand refresh, and I’ve decided to build a new WordPress theme based on Twenty Twenty-Four and I’m trying to change the archive URLs to be /case-studies/$slug, if that makes sense (For example, I want dev.living-future.org/program/lbc to now be dev.living-future.org/case-studies/lbc).
Additionally, the custom post type has a bunch of custom meta fields that I was originally querying for the old Archive template file on the post cards. Is there a way to query those meta fields when developing a new template in the new WordPress site editor?The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.