Custom Fields
Support Meta Box Builder Select 'Page' does not work

  • Creator
  • #2502
    CLOUD Meister

    We'd like to add a field to select a page for grouping & outputting several custom post types on this page. But unfortunately, for some reason we can't get a select box working which is displaying all WordPress pages. See the following screenshot for the query we tried:

Viewing 1 replies (of 1 total)
  • Author
  • #2509
    Tan Nguyen

    Dear mandelkind,

    Thanks for reporting that bug, Meta Box plugin itself updated the code and post_type now becomes property of field instead of field.query_args. So you'll have to define field like so:

    'type' => 'post',
    'name' => 'Page Dropdown',
    'id' => 'page',
    // note that
    'post_type' => 'page'
    // instead of
    'query_args' => [
        'post_type' => 'page'

    We'll release an update for Meta Box Builder, currently, in this version, you can do it by using Custom Attribute, like this example:

Viewing 1 replies (of 1 total)
  • The topic ‘Select 'Page' does not work’ is closed to new replies.