<?php // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } /** * Head & Footer Code General Settings page template * * @category Template * @package Head & Footer Code * @author Aleksandar Urosevic * @license https://www.gnu.org/copyleft/gpl-3.0.html GNU General Public License v3.0 * @link https://urosevic.net */ ?> <div class="wrap" id="head_footer_code_settings"> <h2><?php esc_html_e( 'Head & Footer Code', 'head-footer-code' ); ?></h2> <em><?php esc_html_e( 'Plugin version', 'head-footer-code' ); ?>: <?php echo WPAU_HEAD_FOOTER_CODE_VER; ?></em> <div class="head_footer_code_wrapper"> <div class="content_cell"> <form method="post" action="options.php"> <?php settings_fields( 'head_footer_code_settings' ); do_settings_sections( 'head_footer_code' ); submit_button(); ?> </form> </div><!-- .content_cell --> <div class="sidebar_container"> <a href="https://urosevic.net/wordpress/donate/?donate_for=head-footer-code" class="auhfc-button paypal_donate" target="_blank"><?php _e( 'Donate', 'head-footer-code' ); ?></a> <br /> <a href="https://wordpress.org/plugins/head-footer-code/#faq" class="auhfc-button" target="_blank"><?php _e( 'FAQ', 'head-footer-code' ); ?></a> <br /> <a href="https://wordpress.org/support/plugin/head-footer-code/" class="auhfc-button" target="_blank"><?php _e( 'Community Support', 'head-footer-code' ); ?></a> <br /> <a href="https://wordpress.org/support/plugin/head-footer-code/reviews/#new-post" class="auhfc-button" target="_blank"><?php _e( 'Review this plugin', 'head-footer-code' ); ?></a> </div><!-- .sidebar_container --> </div><!-- .head_footer_code_wrapper --> </div> <script type="text/javascript"> jQuery(document).ready(function($) { $('#head_footer_code_settings .codeEditor').each( function(index, value) { wp.codeEditor.initialize(this, cm_settings); }); }); </script>