This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

North – Page Settings – Meta box ?

9 years ago · Last reply by Alex S 9 years ago

Hi,

North Theme question….

Is it possible to enable the Page Settings that come
with North post pages on a custom post type page ?

And if so, how ???

Miles.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Alex S Staff 9 years, 5 months ago

    Hi Miles,

    It’s possible to enable the page settings on a different post type but it’s a tad difficult to do. You’ll need a child theme (the template is siteorigin-north) to do this.

    Add the following code to your child themes functions.php:

    function add_page_settings_support_custom(){
    	add_post_type_support( 'custom_post_type', 'so-page-settings' );
    }
    add_action('init', 'add_page_settings_support_custom');

    Replace custom_post_type with the relavent post type.

  2. Miles Works 9 years, 5 months ago

    Alex,

    Thanks. That did the trick.

    I do have a question related to siteorigin premium and this item below….

    As I am a premium customer (now).

    ——————

    function add_page_settings_support_custom(){
    add_post_type_support( ‘custom_post_type_name1', 'so-page-settings' );
    add_post_type_support( ‘custom_post_type_name2', 'so-page-settings' );
    add_post_type_support( ‘custom_post_type_name3', 'so-page-settings' );
    add_post_type_support( ‘custom_post_type_name4', 'so-page-settings' );
    add_post_type_support( ‘custom_post_type_name5', 'so-page-settings' );
    etc…
    }
    add_action('init', 'add_page_settings_support_custom');

    —————————

    I should just be able to add the name of the cpt value and it should theoretically add that feature to the page.

    Yes ?

    Along the same lines, if I am running another CPT builder CPTUI and CPTUIExtended, would this interfere with SiteOrigin’s CPTbuilder and viewer ?

    Miles.

  3. Alex S Staff 9 years, 5 months ago

    Hi Miles,

    Thank you for your purchase.

    Yes. You need to refer to whatever the slug is, or if not set, a lower case version of the post type name. For example, if my slug is test I merely need to replace custom_post_type_name1 with test

    Does that make sense?

    This should hopefully be post type option in a future version of SiteOrigin Premium for the Custom Post Type Builder.

    I’m, unfamiliar with those other plugins but it’s unlikely they’ll be able to affect the creation process but depending on what they do they might be able to affect the end result but it’s unlikely to lead to massive errors due to separation. In other words, don’t try and create a post time in a different plugin that already exists.

    As you’re a SiteOrigin user, you’re entitled to priority email support. If you would like to make use of that, please follow the instructions found on this page. You will get faster replies via this method. Please reference this thread.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread