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.
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
Rådhusstræde 13
1466 København K
$blog_post_options = array();
$blog_post_options[] = array(
Can\'t I close the ticket or mark it answered?
closing the ticket. thanks
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy