Request: Add author support
-
Would it be possible to add author support so that we can change the author from the edit screen? I was able to add this function by adding ‘author’ to the ‘supports’ under register_post_type. Thank you.
`register_post_type( ‘qa_faqs’,
array(
‘labels’ => array(
‘name’ => __( ‘FAQs’, ‘qa-focus-plus’ ),
‘singular_name’ => __( ‘FAQ’, ‘qa-focus-plus’ ),
‘edit_item’ => __( ‘Edit FAQ’, ‘qa-focus-plus’),
‘add_new_item’ => __( ‘Add FAQ’, ‘qa-focus-plus’)
),
‘public’ => true,
‘show_ui’ => true,
‘capability_type’ => ‘post’,
‘rewrite’ => array( ‘slug’ => $qafp_options[‘faq_slug’], ‘with_front’ => false ),
‘taxonomies’ => array( ‘FAQs’, ‘post_tag’),
‘supports’ => array(‘title’,’editor’,’comments’,’author’),
‘has_archive’ => false
)
);
The topic ‘Request: Add author support’ is closed to new replies.