// Alter the layout for the courses post type
// Choices: left-sidebar, right-sidebar, full-width or full-screen
add_action( 'wpex_post_layout_class', function() {
if ( is_singular( 'sfwd-courses') ) {
$layout = 'full-width';
}
return $layout;
}, 40 );