Displaying Custom Post Type with custom taxonomies and fields
-
Topic
-
I’ve recently created a Custom Post Type with custom taxonomy and custom fields. I’m trying to figure out the best way to display the results in JumpStart 2.0.
The CPT is called ‘directory’ and has taxonomies for city, zip and county. The custom fields are typical business directory fields such as address, phone, etc. The post title serves as the company name and the featured image is for a logo.
I’m wanting to display the data in a post grid, with some of the taxonomies and/or fields showing. The featured image and title would link to the actual post. I’m also wanting to create a custom template for the single post as well. I may eventually want to display the posts in a list as well, with sorting and/or filtering options for the user.
What I’m looking for by way of this post isn’t a tutorial on CPTs, since that isn’t really your problem. What I’m hoping is that you can at least point me in the right direction or maybe even provide some examples on how I would display the data using a template in JumpStart. Would I use Builder or would it be better to manually create PHP templates based on JumpStart’s default templates? If the latter, which JumpStart templates should I be using?
Or maybe I should be using hooks and filters in functions.php….
- You must be logged in to reply to this topic.