Support › MB Settings Page › Post_Type argument for Post field typeResolved
Hello, I can't get the post_type argument to work for a post field type on a settings page.
'name' => __( 'Featured Event(s)', 'rwmb' ),
'id' => "event_archive_featured_events",
'type' => 'post',
'field_type' => 'select_advanced',
'clone' => true,
'sort_clone' => true,
Hi, I've just tried your code and see it works well. Can you please provide more details on the bug?
It always only loads in the page post type into the select box, no matter what I do.
Ah, the post_type parameter for the post field specify which post type it uses to get posts from.
It's not the post type screen. To set the meta box appear for specific post types, you must set post_types param for the meta box. Please see this docs.