- This topic has 4 replies, 2 voices, and was last updated 11 months, 2 weeks ago by .
-
Topic
-
Is a Meta Box field for the post author to replace the default WP author field supported?
If so, what is needed?
I’ve tried setting the
id
toauthor
andpost_author
based on this topic (and the linked tutorial) https://metabox.io/support/topic/can-a-default-wp-post-table-field-be-added-to-a-metabox-tab-ie-post_author/but the Meta Box field is not populating with a saved post’s author.
Here is my field:
array( 'name' => 'Author', 'id' => 'author', 'type' => 'user', 'field_type' => 'select_advanced', 'placeholder' => '-- Select Author --', 'query_args' => array( 'role' => 'my_custom_role', 'number' => 10, ), 'js_options' => array( 'minimumInputLength' => 3, ), ),
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.