Okay
  Public Ticket #587929
Add custom post opstions
Closed

Comments

  • Henning started the conversation

    I have been able to add custom options to page options by adding
    array(
    'id' => 'cpbg-opt-page-hero-image-body-background-color',
    'type' => 'color',
    'title' => __('Page Body Color', THEME_LANGUAGE_DOMAIN),
    'subtitle' => __('Pick an second background color for page body (default: #FFFFFF).', THEME_LANGUAGE_DOMAIN),
    'transparent' => false,
    'default' => '#FFFFFF',
    'validate' => 'color',
    ),

    To metabox-config.php and use the information via the id.

    Now I would like to do the same for posts.

    But I simply can't find the right section in metabox-config, don't even know if I'm looking in the right file.

    Hope it's something simple I'm missing.

    Any help would be appreciated.

    Kind regards

    Henning Mortensen

    JUSTare

    JUSTare
    Rådhusstræde 13
    1466 København K

  • Henning replied
    I found the right section 20 after posting the question..

    $blog_post_options = array();
    $blog_post_options[] = array(

    Can\'t I close the ticket or mark it answered?

  •  1,973
    Support replied

    closing the ticket. thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy