Changeset 984734
- Timestamp:
- 09/08/2014 09:43:02 PM (11 years ago)
- Location:
- average-head-footer-code/trunk
- Files:
-
- 2 edited
-
average-head-footer-code.php (modified) (3 diffs)
-
options.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
average-head-footer-code/trunk/average-head-footer-code.php
r962688 r984734 2 2 /* 3 3 Plugin Name: Average Head & Footer Code 4 Plugin URI: 4 Plugin URI: 5 5 Description: Allows admins to add code to the <head> and/or <footer> of an individual post and/or site-wide. Ideal for scripts such as Google Analytics conversion tracking code and any other general or page-specific JavaScript. 6 6 Version: 1.0 … … 9 9 License: Public Domain 10 10 @since 3.5.2 11 ___ 11 ___ 12 12 / |_ _____ _________ _____ ____ 13 13 / /| | | / / _ \/ ___/ __ `/ __ `/ _ \ 14 14 / ___ | |/ / __/ / / /_/ / /_/ / __/ 15 15 /_/ |_|___/\___/_/ \__,_/\__, /\___/ 16 /____/ 16 /____/ ª 17 17 by Joe Rhoney 18 18 */ … … 46 46 } 47 47 public static function options_page() 48 { 49 if (!current_user_can('manage_options')) 48 { 49 if (!current_user_can('manage_options')) 50 50 { 51 51 wp_die(__('You do not have sufficient permissions to access this page.')); -
average-head-footer-code/trunk/options.php
r980053 r984734 5 5 <div id="post-body" class="metabox-holder columns-2"> 6 6 <div id="post-body-content"> 7 <form action="options.php" method="post" id="<?php echo $plugin_id; ?>_options_form" name="<?php echo $plugin_id; ?>_options_form">8 <?php settings_fields($plugin_id.'_options'); ?>7 <form action="options.php" method="post" id="<?php echo $plugin_id; ?>_options_form" name="<?php echo $plugin_id; ?>_options_form"> 8 <?php settings_fields($plugin_id.'_options'); ?> 9 9 <label for="site_wide_head_code"> 10 10 <h2 class="title">Site-wide Head Code</h2> … … 16 16 </label> 17 17 <?php submit_button(); ?> 18 </form>18 </form> 19 19 </div> <!-- post-body-content --> 20 <!-- sidebar -->21 <div id="postbox-container-1" class="postbox-container">20 <!-- sidebar --> 21 <div id="postbox-container-1" class="postbox-container"> 22 22 <h2>Support Tickets</h2> 23 23 <p>If you need custom support for this plugin (Average Head & Footer Code) or any other Average plugin, you can purchase help with a support ticket below. Support tickets are responded to within 24 hours, but we answer them as soon as possible.</p> … … 47 47 </form> 48 48 <p><strong>Note</strong>: This is for <em>custom</em> needs for help, not problems with the plugin, or instructions that should already be explain in the description. If you feel there are important details omitted from the <a href="http://wordpress.org/plugins/average-head-footer-code/" target="_blank">Description</a>, <a href="http://wordpress.org/plugins/average-head-footer-code/installation/" target="_blank">Installation</a> steps, etc. of the plugin, please report them in the <a href="http://wordpress.org/support/plugin/average-head-footer-code" target="_blank">Support forum</a>. Thanks!</p> 49 </div> <!-- #postbox-container-1 .postbox-container -->50 </div> <!-- #post-body .metabox-holder .columns-2 -->51 <br class="clear">52 </div> <!-- #poststuff -->49 </div> <!-- #postbox-container-1 .postbox-container --> 50 </div> <!-- #post-body .metabox-holder .columns-2 --> 51 <br class="clear"> 52 </div> <!-- #poststuff --> 53 53 </div>
Note: See TracChangeset
for help on using the changeset viewer.