How do we assign a custom template to a custom post type?
For example I have a custom post type "Portfolio". Currently it is using the single.php template but I would like it to use a custom version of the single.php template file.
I've tried naming the template file single-portfolio.php and portfolio-single.php without success.
Thanks for your help.