html-options-page.php 949 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <div class="wrap acf-settings-wrap">
  2. <h1><?php echo $page_title; ?></h1>
  3. <form id="post" method="post" name="post">
  4. <?php
  5. // render post data
  6. acf_form_data(
  7. array(
  8. 'screen' => 'options',
  9. 'post_id' => $post_id,
  10. )
  11. );
  12. wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
  13. wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
  14. ?>
  15. <div id="poststuff" class="poststuff">
  16. <div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
  17. <div id="postbox-container-1" class="postbox-container">
  18. <?php do_meta_boxes( 'acf_options_page', 'side', null ); ?>
  19. </div>
  20. <div id="postbox-container-2" class="postbox-container">
  21. <?php do_meta_boxes( 'acf_options_page', 'normal', null ); ?>
  22. </div>
  23. </div>
  24. <br class="clear">
  25. </div>
  26. </form>
  27. </div>