Custom post type - layout templates


I’m using using a child theme based on the dazzling theme.

I have created a custom post type for ‘events’. All is working perfectly fine, except I do not have the option to change the ‘layout’ as I can with normal posts (E.g. Right sidebar, left sidebar, fullwidth).

My new posts (events) default to fullwidth, but I’d like to change the layout to right sidebar as I can with normal posts.

Do you know how I get this option on the new custom post types?

Many thanks,


Hey there

Can you tell me how you created Custom post types? manually or you used third party plugin?

Thanks for replying.

I created them manually in the functions php file as follows:

/** Custom post type for Events **/
add_action(‘init’, ‘events_init’);

function events_init()
$labels = array(
‘name’ => _x(‘Events’, ‘post type general name’),
‘singular_name’ => _x(‘Event’, ‘post type singular name’),
‘add_new’ => _x(‘Add New’, ‘event’),
‘add_new_item’ => __(‘Add New Event’),
‘edit_item’ => __(‘Edit This Event’),
‘new_item’ => __(‘New Event’),
‘view_item’ => __(‘View This Event’),
‘search_items’ => __(‘Search Events’),
‘not_found’ => __(‘No Event found’),
‘not_found_in_trash’ => __(‘No Event found in Trash’),
‘menu_name’ => __(‘Events’)
$args = array(
‘labels’ => $labels,
‘public’ => true,
‘publicly_queryable’ => true,
‘query_var’ => true,
‘rewrite’ => array(‘slug’ => ‘events’, ‘with_front’=> false ),
‘capability_type’ => ‘post’,
‘hierarchical’ => true,
‘taxonomies’ => array(‘category’),
‘menu_postition’ => null,
‘has_archive’ => true,
‘show_in_menu’ => true,
‘supports’ => array(‘title’,‘category’,‘editor’,‘excerpt’,‘custom-fields’,‘thumbnail’,‘page-attributes’,‘post-formats’),
‘show_in_nav_menus’ => true

Hey there

I’m sorry but this will require custom work, any modification in the template functions like this needs an individual approach and can not be handled by free support policies, you have to find a freelancer to investigate your problem