Hi;
I’m creating a custom WP theme for a client, and I have a strange problem. They have specific front-page template that I’m implementing in front-page.php. I’m adding Editor fields to the front-page template as follows :
/*
Title: Front Page Settings
Template: front-page
*/
piklist('field', array(
'type' => 'editor',
'field' => 'home_slogan',
'label' => 'Homepage Slogan',
'help' => 'The slogan that shows over homepage main image',
'options' => array(
'wpautop' => true,
'teeny' => false,
'quicktags' => true
)
));
The field is visible the backend. The first time I try to update it it records the proper value. After this, if I modify the field and try to save it, it stays with the first recorded value. I set the wp_debug to true, but nothing shows up.