# Custom Post Type - Add Theme Metaboxes and Theme settings Metaboxes

Source: https://seventhqueen.com/docs/kleo/custom-post-type-add-theme-metaboxes-and-theme-settings-metaboxes/

If you have created a custom post type and you want to have the KLEO theme options panel for each custom post type

```
// Add Theme Settings to CPT //
// Replace yourCPTslug with your CPT slug //
function my_cpt_sq_metabox_general_settings($post_types) {

    $post_types[] = 'yourCPTslug';
    return $post_types;
}

add_filter('sq_metabox_general_settings', 'my_cpt_sq_metabox_general_settings');
```

Add this function to wp-content/thems/kleo-child/function.php
