Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress: Page-Template functionality for Custom Post Types Re: WordPress: Page-Template functionality for Custom Post Types

#48741
mixxmac
Member

Maybe you could try using a custom field within your post e.g. product-type, and then some conditional logic to generate the markup based on this field.

There’s a great screencast on this type of thing here:
https://css-tricks.com/video-screencasts/65-advanced-uses-for-custom-fields-in-wordpress/

The video seems to cover the same type of thing you described.