Hello,
Try to Add the below code the functions.php file of the child theme using FTP or cPanel. It will add OceanWP Settings metabox in your custom post types. Edit the post types in the code.
/**
* Add the OceanWP Settings metabox in your CPT
*/
function oceanwp_metabox( $types ) {
// Your custom post type
$types[] = 'your-post-type';
// Return
return $types;
}
add_filter( 'ocean_main_metaboxes_post_types', 'oceanwp_metabox', 20 );
If you want to edit the file, then you need to write your own function to fetch a template using for that custom post type. For example, ‘Review’ is a custom post type.
Step 1 – Copy partials/single
folder under child theme and rename the ‘single’ folder to ‘review’.
Step 2. Now copy the singular.php file into your child theme and add the below code after line 52.
elseif ( is_singular( 'review' ) {
get_template_part( 'partials/review/layout' );
}
Step 3. Now modified the file under review folder as per your need.
Hope it will help you.