Home / Forums / ePix Support / custom page types

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • Bill Kennedy
    Participant

    Hello,

    I have created a custom post type using the Types plugin. How do I implement the page config / skin / gallery tabs on my custom post type?

    I have read the similar help topic for the Dynamix theme ( link) but the ePix files are structured differently.

    Or, is there another way without using a plugin?

    Thanks!

    Andy
    Andy
    Keymaster

    Hi Bill,

    The only way to achieve this is to edit ePix/lib/adm/metabox-options/options-meta.php – search for the following text: // Post type

    You’ll see a number of these, add your Post Type to each of them ( apart from “media_picker”, this will not work ).

    Example:

    $meta_boxes[] = array(
    'id' => 'x_gallery_options_metabox',
    'title' => 'Gallery / Media',
    'pages' => array( 'post', 'portfolio', ), // Post type

    Change to:

    $meta_boxes[] = array(
    'id' => 'x_gallery_options_metabox',
    'title' => 'Gallery / Media',
    'pages' => array( 'post', 'portfolio', 'YOUR-POST-TYPE-HERE' ), // Post type


    Bill Kennedy
    Participant

    That worked perfectly. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.