optionsframework_page

The Evolved optionsframework page function.

Description

optionsframework_page(); 

Usage

  1. if ( !function_exists( 'optionsframework_page' ) ) { 
  2. require_once '/admin/options-framework/options-framework.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = optionsframework_page(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/admin/options-framework/options-framework.php  
  1. function optionsframework_page() { 
  2. settings_errors(); 
  3. ?> 
  4.  
  5. <div class="wrap"> 
  6. <?php screen_icon( 'themes' ); ?> 
  7. <h2 class="nav-tab-wrapper"> 
  8. <?php echo optionsframework_tabs(); ?> 
  9. </h2> 
  10.  
  11. <div class="metabox-holder"> 
  12. <div id="optionsframework" class="postbox"> 
  13. <form action="options.php" method="post"> 
  14. <?php settings_fields('optionsframework'); ?> 
  15.  
  16. <?php optionsframework_fields(); /** Settings */ ?> 
  17.  
  18. <div id="optionsframework-submit"> 
  19. <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e( 'Save Options', 'options_framework_theme' ); ?>" /> 
  20. <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e( 'Restore Defaults', 'options_framework_theme' ); ?>" onclick="return confirm( '<?php print esc_js( __( 'Click OK to reset. Any theme settings will be lost!', 'options_framework_theme' ) ); ?>' );" /> 
  21. <div class="clear"></div> 
  22. </div> 
  23. </form> 
  24. </div> <!-- / #container --> 
  25. </div> 
  26. </div> <!-- / .wrap --> 
  27.  
  28. <?php