Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Add Post Header Metaboxes to custom page templates

Home / Forums / Pinnacle Theme / Add Post Header Metaboxes to custom page templates

This topic is: Not Resolved
[Not Resolved]
Posted in: Pinnacle Theme
May 23, 2018 at 9:22 pm

Hi! I have created several custom page templates based on the Portfolio post type, and cannot work out how to add the Post Title and Subtitle metaboxes to the post types.

I have edited line 13, postheader-metaboxes.php and added it to my child theme.
'object_types' => array( 'product', 'post', 'portfolio','staff','testimonial', 'event', 'services', 'solutions', 'industry' ), // Post type

As you can see, the post types are named ‘services’, ‘solutions’ and ‘industry’.

However the metabox fields do not appear on my post type admin pages.

Alternatively, is there some function I can add to my child theme to automatically replace the title image by post type, eg, something like:

if post-type = services, then use servives-header.jpg

TIA
Bridie

  • The forum ‘Pinnacle Theme’ is closed to new topics and replies.