> For the complete documentation index, see [llms.txt](https://wpsf.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wpsf.gitbook.io/docs/options/select/select-with-pages.md).

# Select with Pages

## SELECT WITH “PAGES”

We are getting wordpress default pages via `get_pages( $args )` function. And you can use wordpress core query args here.

[see for more query\_args](http://codex.wordpress.org/Function_Reference/get_pages)

Select with default wordpress pages [see for more query\_args](http://codex.wordpress.org/Function_Reference/get_pages)

```php
array(
  'id'      => 'unique_option_506',
  'type'    => 'select',
  'title'   => 'Select Field for Pages',
  'options' => 'pages',
),
```

```php
array(
  'id'            => 'unique_option_507',
  'type'          => 'select',
  'title'         => 'Select Field for Pages',
  'options'       => 'pages',
  // query_args is option for all
  'query_args'    => array(
    'sort_order'  => 'ASC',
    'sort_column' => 'post_title',
  ),
),
```
