Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

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,092
    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