Skip Navigation

[Resolved] Cannot select theme template for a custom post type template

This support ticket is created 3 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 3 years, 9 months ago.

Assisted by: Jamal.

Author
Posts
#2179907

I have a custom post type called VS. I'm editing the CPT template for VS in Toolset however I don't see any of the typical options in my right sidebar in the editor, specifically the ones that would allow me to 1) select which theme template file (like Elementor 100% Width) I'd like to use to style the page or 2) style the header, which I think is a function of my theme The7.

I may be being daft here but I'm stuck because as far as I can tell, I'm able to edit the content of the custom post type template using the block editor in Toolset, however I can't change anything about the full page's template and styling (essentially the shell wrapped around the custom post type template).

Thanks in advance for your help!

#2180005

Hello and thank you for contacting Toolset support.

I don't think this is affected by Toolset. To confirm that, add a custom post using custom code, then disable Toolset plugins and check if the meta box appears for that post type.

I think that the theme does not offer that, by default, for other custom post types. And I think that you can do it using custom code. I found this article about it here hidden link

The custom codes need to be added by custom code:

/**
 * Return post types with default meta boxes for The7 theme
 *
 * @author   Golden Oak Web Design <info@goldenoakwebdesign.com>
 * @license  <em><u>hidden link</u></em> GPLv2+
 */
function golden_oak_web_design_presscore_pages_with_basic_meta_boxes( $post_type_array ) {
  $post_type_array = array( 'page', 'post', 'custom_post_type' );
  return $post_type_array;
}
add_filter( 'presscore_pages_with_basic_meta_boxes', 'golden_oak_web_design_presscore_pages_with_basic_meta_boxes' );

Please let us know what you will get.