Tagged: Custom Post Type
I’ve used the plugin “Custom Post Type UI” to create custom post types on my test site, as I want to show a few products (each one is a separate post).
I’ve got the taxonomy & post type set up, and have created one custom post, but haven’t discovered the way to have them show up in a sort of listings page – is there some PHP or HTML that I can add to a page (or perhaps in the theme function PHP file) to do this?
I have a “Shop” page, which has some code on for a shopping cart, but I also want to display a grid listing of other products not in the shopping cart – all on the same page.
(Note: these aren’t products that can go into a shopping cart as they aren’t for sale on my site – I’m just displaying them & then linking to other sites)
Any ideas/tips would be much appreciated!
Sounds like you’re needing a custom archive template? Can you give a usage example of what type of post types and taxonomies you’re wanting to combine on a single page?
This link might help you start thinking about archive templates automatically included in WP: http://codex.wordpress.org/Template_Hierarchy
Here’s another article on creating an archive page for a CPT: http://www.carriedils.com/custom-post-type-archive-template/
Thanks for the useful links, much appreciated – I managed to find a way around it that worked ok but the link to the Genesis CPT plugin is useful for future reference!
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.