Jump to content
Sign in to follow this  
creativeadventures

Custom single.php for custom post type

Recommended Posts

creativeadventures

Hi, I have created a custom post type which I fetch using a custom page template with a loop on a hook. I would like to customize the single post view as well for this post type, but I don't think creating the usual single-{posttype}.php works in PlatformPro, right? Please see the following link as an example: http://cadev.skorge.se/workshops/ How would I do that? Thanks!

Share this post


Link to post
Share on other sites
bryan-hadaway

For the moment being I can't get that example to load... Thanks, Bryan

Share this post


Link to post
Share on other sites
creativeadventures

I'm sorry, we had some server issues which should be resolved now.

Share this post


Link to post
Share on other sites
cmunns

I think what would be best is to use a conditional tag inside the main loop (template.postloop.php) You can copy this into your base theme to customize it, but this is probably the best way to get the single custom post type pages setup in my opinion.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×