Page Select

Display page select input fields can use select, radio, multi-select, checkbox and etc.

Via Select2 Field.

array(
    'id'		=> 'page_select_field',
    'title'		=> __('Page select  Field','text-domain'),
    'details'		=> __('Description of multi select2 for Page list field','text-domain'),
    //'multiple'        => true,
    'type'		=> 'select2',
    'args'		=> 'WPADMINSETTINGS_PAGES_ARRAY',
),

 

 

WordPress Option Framework

Via Select Field.

array(
    'id'		=> 'page_select_field',
    'title'		=> __('Page select  Field','text-domain'),
    'details'		=> __('Description of multi select2 for Page list field','text-domain'),
    //'multiple'        => true,
    'type'		=> 'select',
    'args'		=> 'WPADMINSETTINGS_PAGES_ARRAY',
),

WordPress Option Framework

Via Radio Field.

array(
    'id'		=> 'page_select_field',
    'title'		=> __('Page select  Field','text-domain'),
    'details'		=> __('Description of multi select2 for Page list field','text-domain'),
    'type'		=> 'radio',
    'args'		=> 'WPADMINSETTINGS_PAGES_ARRAY',
),

WordPress Option Framework

Via checkbox Field.

array(
    'id'		=> 'page_select_field',
    'title'		=> __('Page select  Field','text-domain'),
    'details'		=> __('Description of multi select2 for Page list field','text-domain'),
    //'multiple'        => true,
    'type'		=> 'checkbox',
    'args'		=> 'WPADMINSETTINGS_PAGES_ARRAY',
),

WordPress Option Framework