I have a simple meta-box with two text fields that appears in the right column of all posts of type “page.”
<?php
/*
Title: Section Name
Post Type: page
Capability: manage_options
Description: for pages at the top of a section; used in sidebar nav
Context: side
Priority: default
*/
piklist('field', array(
'type' => 'text',
'field' => 'section_name',
'label' => 'Section name:',
));
piklist('field', array(
'type' => 'text',
'field' => 'section_head',
'label' => 'List this page in menus as:',
));
When I added a workflow, the meta-box disappeared. If my parts/workflows folder is empty, the meta-box is there. If I add even just the flow header file (below), the meta-box is gone.
<?php
/*
Flow: Homepage Workflow
Page: post.php, post-new.php, post-edit.php, admin.php
Post Type: page
Header: true
Position: title
*/
This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies. Find out more.