optionsframework_page

The SKT Parallaxme optionsframework page function.

Description

optionsframework_page(); 

Usage

  1. if ( !function_exists( 'optionsframework_page' ) ) { 
  2. require_once '/inc/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).

/inc/options-framework.php  
  1. function optionsframework_page() { 
  2. settings_errors(); ?> 
  3.  
  4. <div id="optionsframework-wrap" class="wrap"> 
  5. <h2 class="nav-tab-wrapper"> 
  6. <?php echo optionsframework_tabs(); ?> 
  7. </h2> 
  8. <div id="optionsframework-metabox" class="metabox-holder"> 
  9. <div style="padding-bottom:10px;"><a href="<?php echo 'http://www.sktthemes.net/shop/skt_parallax_me_pro/';?>" target="_blank">Buy PRO version for only $39 with more features.</a></div> 
  10. <div style="clear:both"></div> 
  11. <div id="optionsframework" class="postbox" style="width:72%; float:left;" > 
  12. <form action="options.php" method="post"> 
  13. <?php settings_fields( 'optionsframework' ); ?> 
  14. <?php optionsframework_fields(); /** Settings */ ?> 
  15. <div id="optionsframework-submit"> 
  16. <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e( 'Save Options', 'options_framework_theme' ); ?>" /> 
  17. <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' ) ); ?>' );" /> 
  18. <div class="clear"></div> 
  19. </div> 
  20. </form> 
  21. </div> <!-- / #container --> 
  22.  
  23.  
  24. <div style="width:25%; float:right;" class="postbox-container side"> 
  25. <div class="meta-box-sortables ui-sortable"> 
  26. <div class="postbox"> 
  27. <h3 class="hndle"><span>Our Themes</span></h3> 
  28. <div class="inside"> 
  29. <p><a target="_blank" href="http://www.sktthemes.net/themes"><img style="max-width:100%" src="<?php echo get_template_directory_uri()?>/images/sktskill.jpg"></a></p> 
  30. </div> 
  31. </div> 
  32. <div class="postbox"> 
  33. <h3 class="hndle"><span>Support</span></h3> 
  34. <div class="inside"> 
  35. <p><em>For support email us at <strong>support@sktthemes.com</strong></em></p> 
  36. </div> 
  37. </div> 
  38.  
  39. </div> 
  40. </div> 
  41.  
  42.  
  43. </div> 
  44. <?php do_action( 'optionsframework_after' ); ?> 
  45. </div> <!-- / .wrap --> 
  46.  
  47. <?php