I want to use post types to style video posts differently. This should be quite easily achieved with custom post types.
But I only want the video post type to affect the post when it is in "single".
In other words I want the front page to stay as it is but when a video post is clicked on (and single.php is rendered) I want it to be styled differently than regular posts.
How can I achieve this?
I have read a dozen articles about custom post types, but all of them explain how to render CPT on the front page, which is not what I need.
add_theme_support( 'post-formats', array( 'aside', 'gallery', 'image', 'link', 'video', 'quote', 'link', 'video', 'status', 'audio', 'chat' ) );
I am using _s for theme development so inside the theme root folder I have a folder called template-parts with content-none.php content-page.php content-search.php content-single.php content.php and single-video.php