/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework" class="wrap"> <?php settings_errors('options-framework'); ?> <div class="new_options_container"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <div class="new_options_container_top"> <div class="new_options_container_top_logo"> <a href="http://www.themealley.com/"><img src="<?php echo get_template_directory_uri(); ?> /images/logo.png" /></a> </div> <div class="new_options_container_top_twit"> <div class="new_options_container_top_twit_bookmark"> <div class="new_options_container_top_twit_bookmarkf"> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-href="http://www.facebook.com/ThemeAlley" data-send="false" data-layout="box_count" data-width="450" data-show-faces="false"></div> </div> <div class="new_options_container_top_twit_bookmarkt"> <a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-url="https://www.themealley.com/" data-count="vertical" data-text="Responsive WordPress Themes">Tweet</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> </div> <div class="new_options_container_top_twit_bookmarkg"> <!-- Place this tag where you want the +1 button to render --> <g:plusone size="tall" href="https://www.themealley.com/"></g:plusone> <!-- Place this render call where appropriate --> <script type="text/javascript"> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script> </div> </div> </div> <div class="new_options_container_top_rate"> <a href="http://www.themealley.com/business/?a_aid=tskk&a_bid=550dad4a&chan=<?php echo wp_get_theme(); ?> "> <img src="<?php echo get_template_directory_uri(); ?> /images/rate.png" /> </a> </div> </div><!-- .new_options_container_top --> <div id="countrytabs" class="new_options_container_middle"> <ul class="shadetabs"> <li class="big"><a href="#country1"><h6><?php echo __('General', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country2"><p><?php echo __('Social Settings', 'alexandria'); ?> </p></a></li> <li class="big"><a href="#country10"><h6><?php echo __('Logo Section', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> <li class="big"><a href="#country3"><h6><?php echo __('Header', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> <li class="big"><a href="#country4"><h6><?php echo __('Layout', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country5"><p><?php echo __('Biz One Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country7"><p><?php echo __('Biz Two Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country9"><p><?php echo __('Standard Blog Settings', 'alexandria'); ?> </p></a></li> <li class="big"><a href="#country19"><h6><?php echo __('Portfolio', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> <li class="big"><a href="#country11"><h6><?php echo __('Footer', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> </ul> <div class="shadetabscontent"> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> </div><!-- .shadetabscontent --> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery.noConflict(); jQuery('#countrytabs').tabs(); }); </script> </div><!-- #new_options_container_middle --> <div class="new_options_container_bottom"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e(__('Save Options', 'alexandria')); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e(__('Restore Defaults', 'alexandria')); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'alexandria')); ?> ' );" /> </div><!-- .new_options_container_bottom --> </form> </div><!-- .new_options_container --> </div><!-- #optionsframework --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-themepromo"> <div class="promo-inner"> <h3>Support</h3> <div class="inside"> <p>The best way to contact me with <b>support questions</b> and <b>bug reports</b> is via our <a href="<?php esc_attr_e('http://facebook.com/templatesnext/', 'textdomain'); ?> " target="_blank">facebook page</a>.</p> <p>If you like i-craft please rate us at <a href="<?php esc_attr_e('http://wordpress.org/support/view/theme-reviews/i-craft', 'textdomain'); ?> " target="_blank">WordPress.org</a> and like our <a href="<?php esc_attr_e('http://facebook.com/templatesnext/', 'textdomain'); ?> " target="_blank">facebook page</a>. </p> </div> </div> </div> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <div class="promo-2"> <div class="promo-wrap"> <a href="<?php esc_attr_e('http://templatesnext.org/icraft/', 'textdomain'); ?> " target="_blank">i-craft Demo</a> <a href="<?php esc_attr_e('http://templatesnext.org/icraft/docs', 'textdomain'); ?> ">Documentation</a> <div class="donate"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="M2HN47K2MQHAN"> <table> <tr><td><input type="hidden" name="on0" value="If you like my work, buy me">If you like my work, buy me</td></tr><tr><td><select name="os0"> <option value="a cup of coffee">1 cup of coffee $10.00 USD</option> <option value="2 cup of coffee">2 cup of coffee $20.00 USD</option> <option value="3 cup of coffee">3 cup of coffee $30.00 USD</option> </select> </td></tr> </table> <input type="hidden" name="currency_code" value="USD"> <input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online."> <img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1"> </form> </div> </div> </div> <h2><?php echo esc_html($menu['page_title']); ?> </h2> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'theme-textdomain'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'theme-textdomain'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'theme-textdomain')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <h2><?php echo esc_html($menu['page_title']); ?> </h2> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <div style="padding-top:10px;font-size:15px;"><a href="<?php echo esc_url(SKT_PRO_THEME_URL); ?> " target="_blank"><?php _e('Buy PRO version for only $39 with more features.', 'skt-white'); ?> </a></div> <?php if (isset($_GET['msg']) && !isset($_GET['settings-updated'])) { ?> <div class="updated <?php if ($_GET['msg'] == "success") { echo "fade"; } ?> settings-error" id="setting-error-save_options" style="display: block;"> <?php if ($_GET['msg'] == "error") { ?> <p style="color:#FF0000"><strong>Current active theme is not matching</strong></p> <?php } elseif ($_GET['msg'] == "success") { ?> <p><strong>Option Imported successfully</strong></p> <?php } ?> </div> <?php } ?> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox" style="width:72%; float:left;"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'skt-white'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'skt-white'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'skt-white')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> <div style="width:25%; float:right;" class="postbox-container side"> <div class="meta-box-sortables ui-sortable"> <div class="postbox"> <h3 class="hndle"><span><?php _e('Our Themes', 'skt-white'); ?> </span></h3> <div class="inside"> <p><a target="_blank" href="<?php echo esc_url(SKT_THEME_URL); ?> "><img style="max-width:100%" src="<?php echo get_template_directory_uri(); ?> /images/sktskill.jpg"></a></p> </div> </div> <div class="postbox"> <h3 class="hndle"><span><?php _e('Need more features?', 'skt-white'); ?> </span></h3> <div class="inside"> <p><em><a href="<?php echo esc_url(SKT_PRO_THEME_URL); ?> " target="_blank"><?php _e('Buy PRO version for only $39 with more features', 'skt-white'); ?> </a></em></p> </div> </div> <div class="postbox"> <h3 class="hndle"><span><?php _e('Documentation', 'skt-white'); ?> </span></h3> <div class="inside"> <p><em><?php _e('For documentation and support check this link', 'skt-white'); ?> : <strong><a href="<?php echo esc_url(SKT_THEME_DOC); ?> " target="_blank">SKT White Documentation</a></strong></em></p> </div> </div> </div> </div> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework" class="wrap"> <?php settings_errors('options-framework'); ?> <div class="new_options_container"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <div class="new_options_container_top"> <div class="new_options_container_top_logo"> <a href="http://www.themealley.com/"><img src="<?php echo get_template_directory_uri(); ?> /images/logo.png" /></a> </div> <div class="new_options_container_top_rate"> <a href="http://www.themealley.com/business/?a_aid=tskk&a_bid=550dad4a&chan=<?php echo wp_get_theme(); ?> "> <img src="<?php echo get_template_directory_uri(); ?> /images/rate.png" /> </a> </div> </div><!-- .new_options_container_top --> <div id="countrytabs" class="new_options_container_middle"> <ul class="shadetabs"> <li class="big"><a href="#country1"><h6><?php echo __('General', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country2"><p><?php echo __('Social Settings', 'alexandria'); ?> </p></a></li> <li class="big"><a href="#country10"><h6><?php echo __('Logo Section', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> <li class="big"><a href="#country3"><h6><?php echo __('Header', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country6"><p><?php echo __('Header One Settings', 'alexandria'); ?> </p></a></li> <li class="big"><a href="#country4"><h6><?php echo __('Layout', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country5"><p><?php echo __('Biz One Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country7"><p><?php echo __('Biz Two Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country12"><p><?php echo __('Biz Four Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country13"><p><?php echo __('Ecom One Settings', 'alexandria'); ?> </p></a></li> <li class="small"><a href="#country9"><p><?php echo __('Standard Blog Settings', 'alexandria'); ?> </p></a></li> <li class="big"><a href="#country11"><h6><?php echo __('Footer', 'alexandria'); ?> </h6><p><?php echo __('Settings', 'alexandria'); ?> </p></a></li> </ul> <div class="shadetabscontent"> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> </div><!-- .shadetabscontent --> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery.noConflict(); jQuery('#countrytabs').tabs(); }); </script> </div><!-- #new_options_container_middle --> <div class="new_options_container_bottom"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e(__('Save Options', 'alexandria')); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e(__('Restore Defaults', 'alexandria')); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'alexandria')); ?> ' );" /> </div><!-- .new_options_container_bottom --> </form> </div><!-- .new_options_container --> </div><!-- #optionsframework --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <h2><?php echo esc_html($menu['page_title']); ?> </h2> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Guadar Opciones', 'webtranslations'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restaurar a valores por defecto', 'webtranslations'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK para restaurar. Cualquier cambio en la plantilla se perderá!', 'webtranslations')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <h2><?php echo esc_html($menu['page_title']); ?> </h2> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'textdomain'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'textdomain'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'textdomain')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <div class="theme-header clearfix"> <div class="accesspresslite-logo"> <img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/logo.png" alt="<?php esc_attr_e('AccessPress Lite', 'accesspress_parallax'); ?> " /> </div> <div class="ak-socials"> </div> </div> <div class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </div> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'accesspress_parallax'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'accesspress_parallax'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'accesspress_parallax')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> <div class="update-banner"> <img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/upgrade-top.jpg"> <div class="button-link"> <a href="<?php echo esc_url('http://accesspressthemes.com/accesspress-parallax-pro/'); ?> " target="_blank"><img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/demo-btn.png"></a> <a href="<?php echo esc_url('https://accesspressthemes.com/wordpress-themes/accesspress-parallax-pro/'); ?> " target="_blank"><img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/upgrade-btn.png"></a> </div> <img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/upgrade-bottom.jpg"> <div class="button-link"> <a href="<?php echo esc_url('http://accesspressthemes.com/accesspress-parallax-pro/'); ?> " target="_blank"><img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/demo-btn.png"></a> <a href="<?php echo esc_url('https://accesspressthemes.com/wordpress-themes/accesspress-parallax-pro/'); ?> " target="_blank"><img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/upgrade-btn.png"></a> </div> <div class="any-question"> <?php echo sprintf(__('Any question!! Click <a href="%s" target="_blank">here</a> for Live Chat.', 'accesspress_parallax'), esc_url('https://accesspressthemes.com/contact/')); ?> </div> </div> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php $optionsframework_settings = get_option('optionsframework'); $optionsframework_settings_array = get_option($optionsframework_settings['id']); if (empty($optionsframework_settings_array)) { ?> <div class="ap-popup-wrapper"> <div class="ap-popup-close">×</div> <h4><?php _e('Like our Facebook page and don\'t miss any updates!', 'accesspress_parallax'); ?> </h4> <iframe style="border: none; overflow: hidden; width: 340px; height: 260px;" src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FAccessPress-Themes%2F1396595907277967&width=340&height=260&colorscheme=light&show_faces=true&header=false&stream=false&show_border=true&appId=1411139805828592" width="340" height="260" frameborder="0" scrolling="no"></iframe> </div> <div class="ap-popup-bg"></div> <?php } ?> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap clearfix"> <?php $menu = $this->menu_settings(); ?> <div class="theme-header clearfix"> <div class="accesspress-root-logo"> <img src="<?php echo get_template_directory_uri(); ?> /inc/panel/images/logo.png" alt="<?php esc_attr_e('AccessPress Themes', 'accesspress-root'); ?> " /> </div> <div class="ak-socials"> <p></p> <div class="social-bttns"> </div> </div> </div> <div class="optionsframework-holder"> <div class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </div> <div id="optionsframework-metabox" class="metabox-holder"> <?php settings_errors('options-framework'); ?> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit" class="clearfix"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'accesspress-root'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'accesspress-root'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'accesspress-root')); ?> ' );" /> </div> </form> </div> <!-- / #container --> </div> <div class="upgrade-pro"> <h3><?php _e('Upgrade to Root Pro', 'accesspress-root'); ?> </h3> <div class="update-banner"> <img src="<?php echo get_template_directory_uri(); ?> /inc/panel/images/upgrade-top.jpg"> </div> <div class="button-link"> <a href="<?php echo esc_url('https://accesspressthemes.com/accesspress-root-pro/'); ?> " target="_blank"><img src="<?php echo get_template_directory_uri(); ?> /inc/panel/images/demo-btn.png"></a> <a href="<?php echo esc_url('https://accesspressthemes.com/wordpress-themes/accesspress-root-pro/'); ?> " target="_blank"><img src="<?php echo get_template_directory_uri(); ?> /inc/panel/images/upgrade-btn.png"></a> </div> <div class="any-question"> <?php echo sprintf(__('Any question!! Click <a href="%s" target="_blank">here</a> for Live Chat', 'accesspress_ray'), esc_url('https://accesspressthemes.com/contact/')); ?> . </div> <h4 class="pro-feature-title">Pro Features +</h4> <div class="feature-img"> <img src="<?php echo get_template_directory_uri(); ?> /inc/panel/images/upgrade-side.jpg"/> </div> </div> <?php do_action('optionsframework_after'); ?> </div> </div> <!-- / .wrap --> <div class="clearfix"></div> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <div class="theme-header clearfix"> <div class="accesspresslite-logo"> <img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/logo.png" alt="<?php esc_attr_e('AccessPress Lite', 'accesspress-parallax'); ?> " /> </div> <div class="ak-socials"> <a target='_blank' href="<?php echo esc_url('http://accesspressthemes.com/theme-demos/?theme=accesspress-parallax'); ?> "><?php _e('Demo', 'accesspress-parallax'); ?> </a> <a target='_blank' href="<?php echo esc_url('https://accesspressthemes.com/documentation/theme-instruction-accesspress-parallax/'); ?> "><?php _e('Documentation/Video Tutorial', 'accesspress-parallax'); ?> </a> </div> </div> <div class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </div> <div id="optionsframework-metabox" class="metabox-holder"> <?php settings_errors('options-framework'); ?> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'accesspress-parallax'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'accesspress-parallax'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'accesspress-parallax')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> <div class="update-banner"> <h3><?php _e('Upgrade to Parallax Pro', 'accesspress-parallax'); ?> </h3> <img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/upgrade-top.jpg"> <div class="button-link"> <a href="<?php echo esc_url('http://accesspressthemes.com/theme-demos/?theme=accesspress-parallax-pro'); ?> " target="_blank"><img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/demo-btn.png"></a> <a href="<?php echo esc_url('https://accesspressthemes.com/wordpress-themes/accesspress-parallax-pro/'); ?> " target="_blank"><img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/upgrade-btn.png"></a> </div> <div class="any-question"> <?php echo sprintf(__('Any question!! Click <a href="%s" target="_blank">here</a> for Live Chat.', 'accesspress-parallax'), esc_url('https://accesspressthemes.com/contact/')); ?> </div> <h3 class="pro-feature-title"><?php _e('Pro Features', 'accesspress-parallax'); ?> <span>›</span></h3> <div class="feature-img"> <img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/upgrade-bottom.jpg"> <div class="button-link"> <a href="<?php echo esc_url('http://accesspressthemes.com/theme-demos/?theme=accesspress-parallax-pro'); ?> " target="_blank"><img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/demo-btn.png"></a> <a href="<?php echo esc_url('https://accesspressthemes.com/wordpress-themes/accesspress-parallax-pro/'); ?> " target="_blank"><img src="<?php echo get_template_directory_uri(); ?> /inc/options-framework/images/upgrade-btn.png"></a> </div> </div> </div> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div class="clear"></div> <div id="optionsframework-wrap" class="wrap apmag-themeoption"> <div class="theme-header clearfix"> <div class="accesspress-mag-logo"> <img src="<?php echo get_template_directory_uri(); ?> /images/logo.png" alt="<?php esc_attr_e('AccessPress Mag', 'accesspress-mag'); ?> " /> <div class="theme-name"> <?php $theme = wp_get_theme(); echo $theme->get('Name') . " V" . $theme->get('Version') . __(' - Theme Option Panel', 'accesspress-mag'); ?> </div> </div> <div class="ak-socials"> <p> <a target="_blank" href="<?php echo esc_url('http://accesspressthemes.com/accesspress-mag/'); ?> "><?php _e('Demo', 'accesspress-mag'); ?> </a> | <a target="_blank" href="<?php echo esc_url('https://accesspressthemes.com/accesspress-mag-documentation'); ?> "><?php _e('Documentation', 'accesspress-mag'); ?> </a> | <!--<a target="_blank" href="<?php //echo esc_url( 'https://wordpress.org/support/theme/accesspress-mag'); ?> "><?php //_e( 'Support', 'accesspress-mag'); ?> </a>--> <?php echo sprintf(__('Any question!! Click <a href="%s" target="_blank">here</a> for Live Chat.', 'accesspress-mag'), esc_url('https://accesspressthemes.com/contact/')); ?> </p> </div> <?php //$menu = $this->menu_settings(); ?> <!--<div class="big-title"><?php //echo esc_html( $menu['page_title'] ); ?> </div>--> </div> <div class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </div> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <div class="save-message"><?php settings_errors('options-framework'); ?> </div> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'accesspress-mag'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'accesspress-mag'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'accesspress-mag')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <div class="promo-banner clearfix"> <div class="banner-image"> <img src="<?php echo get_template_directory_uri() . '/inc/option-framework/images/upgrade-mag-pro.jpg'; ?> " /> </div> <div class="button-link"> <?php $pro_demo_link = 'http://demo.accesspressthemes.com/accesspress-mag-pro'; $pro_upgrade_link = 'https://accesspressthemes.com/wordpress-themes/accesspress-mag-pro/'; ?> <a href="<?php echo esc_url($pro_demo_link); ?> " target="_blank"><img src="<?php echo get_template_directory_uri() . '/inc/option-framework/images/demo-btn.png'; ?> "/></a> <a href="<?php echo esc_url($pro_upgrade_link); ?> " target="_blank"><img src="<?php echo get_template_directory_uri() . '/inc/option-framework/images/upgrade-btn.png'; ?> "/></a> </div> <div class="any-question"> <?php echo sprintf(__('Any question!! Click <a href="%s" target="_blank"> here!! </a> for live chat', 'accesspress-mag'), esc_url('https://accesspressthemes.com/contact/')); ?> </div> <div class="view-features"> <h3><?php _e('View Features', 'accesspress-mag'); ?> <span>+<span></h3> <div style="display:none" class="view-features-img"> <img src="<?php echo get_template_directory_uri() . '/inc/option-framework/images/upgrade-mag-pro-features.jpg'; ?> " /> </div> </div> </div> <?php do_action('optionsframework_after'); ?> <div class="clear"></div> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <h2><?php echo esc_html($menu['page_title']); ?> </h2> <div class="proversion"> <h3><?php _e('Upgrade to Pro version!', 'kage'); ?> </h3> <a href="<?php echo esc_url('http://www.pwtthemes.com/theme/kage-responsive-wordpress-theme'); ?> " target="_blank" class="upgradepro"><?php _e('Upgrade to Pro', 'kage'); ?> </a> <a href="<?php echo esc_url('http://www.pwtthemes.com/demo/kage'); ?> " target="_blank" class="donate"><?php _e('Demo', 'kage'); ?> </a> <p><?php _e('If you need assistance, please do not hesitate to', 'kage'); ?> <a href="<?php echo esc_url('http://www.pwtthemes.com/contact'); ?> " target="_blank"><?php _e('contact us', 'kage'); ?> </a></p> </div> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'kage'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'kage'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'kage')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <h2><?php echo esc_html($menu['page_title']); ?> </h2> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'consultant'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'consultant'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'consultant')); ?> ' );" /> <div class="clear"></div> <div id="go_pro"> <h1>Go for Pro Version!</h1> <p>This is a free version of consultant. Get your own copy of professional version if you need to setup your theme with Unlimited homepage Slides , Full width page template, Forum support and much more. <a href="http://antthemes.com/?page_id=215" target="blank">Click Here to Learn More Now</a> </p> </div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <h2><?php echo esc_html($menu['page_title']); ?> </h2> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Guardar', 'textdomain'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Valores por Defecto', 'textdomain'); ?> " onclick="return confirm( '<?php print esc_js(__('¿Estas Seguro?. Se perderan todas las conficuraciones que hallas guardado!', 'textdomain')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { global $themename; ?> <div id="optionsframework-wrap"> <form action="options.php" id="main_options_form" method="post"> <div class="optionsframework-header"> <a href="http://themeforest.net/item/ask-me-responsive-questions-answers-wordpress/7935874?ref=2codeThemes" target="_blank"></a> <input type="submit" class="button-primary vpanel_save" name="update" value="<?php esc_attr_e('Save Options', 'vbegy'); ?> "> <div class="vpanel_social"> <ul> <li><a class="vpanel_social_f" href="https://www.facebook.com/2code.info" target="_blank"><i class="dashicons dashicons-facebook"></i></a></li> <li><a class="vpanel_social_t" href="#" target="_blank"><i class="dashicons dashicons-twitter"></i></a></li> <li><a class="vpanel_social_e" href="#" target="_blank"><i class="dashicons dashicons-email-alt"></i></a></li> <li><a class="vpanel_social_s" href="#" target="_blank"><i class="dashicons dashicons-sos"></i></a></li> </ul> </div> <div class="clear"></div> </div> <div class="optionsframework-content"> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="ajax-saving"><i class="dashicons dashicons-yes"></i><?php _e("Saving", "vbegy"); ?> </div> <div id="ajax-reset"><i class="dashicons dashicons-info"></i><?php _e("Reseting Options", "vbegy"); ?> </div> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> <div class="clear"></div> </div> <div class="optionsframework-footer"> <input type="submit" class="button-primary vpanel_save" name="update" value="<?php esc_attr_e('Save Options', 'vbegy'); ?> "> <div id="loading"></div> <input type="submit" class="reset-button button-secondary" id="reset_c" name="reset" value="<?php esc_attr_e('Restore Defaults', 'vbegy'); ?> "> <div class="clear"></div> </div> </form> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <div class="theme-header clearfix"> <div class="accesspresslite-logo"> <img src="<?php echo get_template_directory_uri(); ?> /images/logo.png" alt="<?php esc_attr_e('AccessPress Staple', 'accesspress-staple'); ?> " /> </div> </div> <div class="optionsframework-holder clearfix"> <div class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </div> <div id="optionsframework-metabox" class="metabox-holder"> <div class="save-message"><?php settings_errors('options-framework'); ?> </div> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'accesspress-staple'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'accesspress-staple'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'accesspress-staple')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <div class="promo-banner clearfix"> <div class="banner-image"> <h3><?php _e('Update to Pro', 'accesspress-staple'); ?> </h3> <img src="<?php echo get_template_directory_uri() . '/inc/options-framework/images/upgrade-staple-pro.jpg'; ?> " /> </div> <div class="button-link"> <a href="http://accesspressthemes.com/theme-demos/?theme=accesspress-staple" target="_blank"><img src="<?php echo get_template_directory_uri() . '/inc/options-framework/images/demo-btn.png'; ?> "/></a> <a href="https://accesspressthemes.com/wordpress-themes/accesspress-staple-pro/" target="_blank"><img src="<?php echo get_template_directory_uri() . '/inc/options-framework/images/upgrade-btn.png'; ?> "/></a> </div> <div class="any-question"> <?php echo sprintf(__('Any question!! Click <a href="%s" target="_blank">here</a> for live chat', 'accesspress-staple'), esc_url('https://accesspressthemes.com/contact/')); ?> </div> <div class="view-features"> <h3><?php _e('View Features', 'accesspress-staple'); ?> <span>+<span></h3> <div style="display:none" class="view-features-img"> <img src="<?php echo get_template_directory_uri() . '/inc/options-framework/images/upgrade-staple-pro-feature.jpg'; ?> " /> </div> </div> </div> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <h2><?php echo esc_html($menu['page_title']); ?> </h2> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="保存设置" /> <input type="submit" class="reset-button button-secondary" name="reset" value="重置" onclick="return confirm( '<?php print esc_js('您确定要重置所有选项吗?'); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap clearfix"> <?php $menu = $this->menu_settings(); ?> <div class="theme-header clearfix"> <div class="accesspress-root-logo"> <img src="<?php echo get_template_directory_uri(); ?> /inc/option-framework/images/logo.png" alt="<?php esc_attr_e('AccessPress Themes', 'accesspress-store'); ?> " /> </div> <div class="ak-socials"> <p><?php _e('Follow us for new updates', 'accesspress-store'); ?> </p> <div class="social-bttns"> </div> </div> </div> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <div id="optionsframework-metabox" class="metabox-holder"> <?php settings_errors('options-framework'); ?> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'accesspress-store'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'accesspress-store'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'accesspress-store')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <div class="clearfix"></div> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div class="clear"></div> <div id="optionsframework-wrap" class="wrap tutannet-themeoption"> <div class="theme-header clearfix"> <div class="tutannet-logo"> <img src="<?php echo get_template_directory_uri(); ?> /images/logo.png" alt="<?php esc_attr_e('TuTanNet', 'tutannet'); ?> " /> <div class="theme-name"> <?php $theme = wp_get_theme(); echo $theme->get('Name') . " " . $theme->get('Version'); ?> </div> </div> <?php //$menu = $this->menu_settings(); ?> <!--<div class="big-title"><?php //echo esc_html( $menu['page_title'] ); ?> </div>--> </div> <div class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </div> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <div class="save-message"><?php settings_errors('options-framework'); ?> </div> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'tutannet'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'tutannet'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'tutannet')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> <div class="clear"></div> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <h2><?php echo esc_html($menu['page_title']); ?> </h2> <h2 class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </h2> <div style="padding-top:10px;font-size:15px;"><a href="<?php echo esc_url(SKT_THEME_URL_DIRECT); ?> " target="_blank"><?php _e('Buy PRO version for only $39 with more features.', 'skt-iamone'); ?> </a></div> <?php settings_errors('options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox" style="width:72%; float:left;"> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'skt-iamone'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'skt-iamone'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'skt-iamone')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> <div style="width:25%; float:right;" class="postbox-container side"> <div class="meta-box-sortables ui-sortable"> <div class="postbox"> <h3 class="hndle"><span>Our Themes</span></h3> <div class="inside"> <p><a target="_blank" href="<?php echo esc_url(SKT_THEME_URL); ?> "><img style="max-width:100%" src="<?php echo get_template_directory_uri(); ?> /images/sktskill.jpg"></a></p> </div> </div> <div class="postbox"> <h3 class="hndle"><span><?php _e('Documentation & Support', 'skt-iamone'); ?> </span></h3> <div class="inside"> <p><em><?php _e('For documentation and support check this link', 'skt-iamone'); ?> : <strong><a href="<?php echo esc_url(SKT_THEME_DOC); ?> " target="_blank"><?php _e('I Am One Documentation', 'skt-iamone'); ?> </a></strong></em></p> </div> </div> </div> </div> </div> <?php do_action('optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }
/** * Builds out the options panel. * * If we were using the Settings API as it was intended we would use * do_settings_sections here. But as we don't want the settings wrapped in a table, * we'll call our own custom optionsframework_fields. See options-interface.php * for specifics on how each individual field is generated. * * Nonces are provided using the settings_fields() * * @since 1.7.0 */ function options_page() { ?> <div class="clear"></div> <div id="optionsframework-wrap" class="wrap apmag-themeoption"> <div class="theme-header clearfix"> <div class="accesspress-mag-logo"> <img src="<?php echo get_template_directory_uri(); ?> /images/logo.png" alt="<?php esc_attr_e('AccessPress Mag', 'accesspress-mag'); ?> " /> <div class="theme-name"> <?php $theme = wp_get_theme(); echo $theme->get('Name') . " V" . $theme->get('Version') . __(' - Theme Option Panel', 'accesspress-mag'); ?> </div> </div> <div class="ak-socials"> <p><?php _e('Like/Follow us for New Updates', 'accesspress-mag'); ?> </p> <iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FAccessPress-Themes%2F1396595907277967&width&layout=button&action=like&show_faces=false&share=false&height=35&appId=1411139805828592" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:20px; width:50px " allowTransparency="true"></iframe> <a href="https://twitter.com/apthemes" class="twitter-follow-button" data-show-count="false" data-lang="en">Follow @apthemes</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <p> <a target="_blank" href="<?php echo esc_url('http://doc.accesspressthemes.com/accesspress-mag-pro-doc'); ?> "><?php _e('Online Documentation', 'accesspress-mag'); ?> </a> | <a target="_blank" href="<?php echo esc_url('http://accesspressthemes.com/support'); ?> "><?php _e('Support Forum', 'accesspress-mag'); ?> </a> </p> </div> <?php //$menu = $this->menu_settings(); ?> <!--<div class="big-title"><?php //echo esc_html( $menu['page_title'] ); ?> </div>--> </div> <div class="nav-tab-wrapper"> <?php echo Options_Framework_Interface::optionsframework_tabs(); ?> </div> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <div class="save-message"><?php settings_errors('options-framework'); ?> </div> <form action="options.php" method="post"> <?php settings_fields('optionsframework'); ?> <?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'accesspress-mag'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'accesspress-mag'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'accesspress-mag')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('optionsframework_after'); ?> <div class="clear"></div> </div> <!-- / .wrap --> <?php }