acf-field-group
2 months ago
acf-post-type
1 week ago
acf-taxonomy
1 year ago
acf-ui-options-page
1 year ago
beta-features
1 year ago
global
7 months ago
tools
1 year ago
upgrade
7 months ago
browse-fields-modal.php
1 year ago
escaped-html-notice.php
1 year ago
html-options-page.php
1 year ago
index.php
1 year ago
html-options-page.php
57 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Options Page Template |
| 4 | * |
| 5 | * Template for displaying the options page interface. |
| 6 | * |
| 7 | * @package wordpress/secure-custom-fields |
| 8 | */ |
| 9 | |
| 10 | ?> |
| 11 | <div class="wrap acf-settings-wrap"> |
| 12 | |
| 13 | <h1><?php echo esc_html( $page_title ); ?></h1> |
| 14 | |
| 15 | <form id="post" method="post" name="post"> |
| 16 | |
| 17 | <?php |
| 18 | |
| 19 | // render post data |
| 20 | acf_form_data( |
| 21 | array( |
| 22 | 'screen' => 'options', |
| 23 | 'post_id' => $post_id, |
| 24 | ) |
| 25 | ); |
| 26 | |
| 27 | wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); |
| 28 | wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); |
| 29 | |
| 30 | ?> |
| 31 | |
| 32 | <div id="poststuff" class="poststuff"> |
| 33 | |
| 34 | <div id="post-body" class="metabox-holder columns-<?php echo 1 === (int) get_current_screen()->get_columns() ? '1' : '2'; ?>"> |
| 35 | |
| 36 | <div id="postbox-container-1" class="postbox-container"> |
| 37 | |
| 38 | <?php do_meta_boxes( 'acf_options_page', 'side', null ); ?> |
| 39 | |
| 40 | </div> |
| 41 | |
| 42 | <div id="postbox-container-2" class="postbox-container"> |
| 43 | |
| 44 | <?php do_meta_boxes( 'acf_options_page', 'normal', null ); ?> |
| 45 | |
| 46 | </div> |
| 47 | |
| 48 | </div> |
| 49 | |
| 50 | <br class="clear"> |
| 51 | |
| 52 | </div> |
| 53 | |
| 54 | </form> |
| 55 | |
| 56 | </div> |
| 57 |