Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

Okay
  Public Ticket #1276688
Custom fields and thegem_page_data
Closed

Comments

  • Andreas started the conversation

    Hi! 

    I'm using The Gem with CPT UI plugin (Custom Post & types).

    I've created a custom post type and am now trying to add the custom fields from thegem_page_data - namely [effects_hide_header] and [effects_hide_footer].  What I'd appreciate help with from your side is simply what the correct names and values for adding those attributes are? 

    Basically I'm going to customize how it looks when people are going to add new "custom pages".

    Best reagrds,

    Andreas Andersson

  •  7,280
    Oliver replied

    HI!

    You need to add the name  of your custom post type to the check on 23 in the file

    /thegem-wptheme/wp-content/themes/thegem/inc/post-types/init.php

    $post_types = array('post', 'page', 'thegem_pf_item', 'thegem_news');
    


    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver