Plugin Directory

Changeset 1397903


Ignore:
Timestamp:
04/17/2016 07:58:47 PM (10 years ago)
Author:
anukit
Message:

Deploy from Git

Location:
wp-hooks/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-hooks/trunk/readme.txt

    r1397901 r1397903  
    33Tags: hooks, wp_head, wp_footer, head, footer
    44Requires at least: 2.1
    5 Tested up to: 2.7.1
    6 Stable tag: 1.0.4
     5Tested up to: 4.5
     6Stable tag: trunk
    77
    8 WP Hooks is a plugin for WordPress that allows you to add JavaScript, HTML, or other code to your
     8WP Hooks allows you to add JavaScript, CSS, meta tags, etc. to your
    99header and footer without modifying your theme.
    1010
     
    1515built in to WordPress to add content to your header and/or footer. It’s great for those who have
    1616custom JavaScript, CSS, or other code (Google Analytics, meta tags, etc.) in their header or footer
    17 and don’t want to copy that every time they change themes.
     17and don’t want to or can't modify their theme.
    1818
    1919Find [more instructions and discussion](http://amwhalen.com/blog/projects/wp-hooks/) on the WP Hooks home page.
     
    3333== Changelog ==
    3434
     35= 1.0.6 =
     36* Fix git/svn repo disparity.
     37
    3538= 1.0.4 =
    3639* Fix undefined variable notice. (thanks to dabernathy89.)
  • wp-hooks/trunk/wp-hooks.php

    r1397901 r1397903  
    33Plugin Name: WP Hooks
    44Plugin URI: http://amwhalen.com/blog/projects/wp-hooks/
    5 Description: Add JavaScript, HTML, or other code to your header and footer without modifying your theme.
    6 Version: 1.0.4
     5Description: Add JavaScript, CSS, meta tags, etc. to your header and footer.
     6Version: 1.0.6
    77Author: Andrew M. Whalen
    88Author URI: http://amwhalen.com
     
    2626*/
    2727
    28 define('AMW_HOOKS_VERSION', '1.0.4');
     28define('AMW_HOOKS_VERSION', '1.0.6');
    2929
    3030/**
     
    4949    <div class="wrap">
    5050
    51     <h2>WP Hooks Options</h2>
     51    <h2>Header and Footer Settings (WP Hooks)</h2>
    5252
    5353    <p>
    54         WP Hooks places the code you write below into the header or footer of your site so you don't have to modify your theme.
    55         It saves you from having to remember to add that custom CSS, JavaScript, meta tag, etc. when you switch to a new theme.
     54        Add JavaScript, CSS, meta tags, etc. to your header and footer.
    5655    </p>
    5756
     
    9695        </table>
    9796
    98         <p class="submit">
    99             <input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" />
     97        <p class="submit">
     98            <button class="button-primary"><?php _e('Save Changes','wphooks'); ?></button>
    10099        </p>
    101100
     
    127126function amw_hooks_admin() {
    128127
    129     add_options_page('WP Hooks', 'WP Hooks', 'edit_files', __FILE__, 'amw_hooks_options_page');
     128    add_options_page('Header and Footer (WP Hooks)', 'Header and Footer (WP Hooks)', 'edit_files', __FILE__, 'amw_hooks_options_page');
    130129
    131130}
     
    192191
    193192// install / uninstall
    194 register_activation_hook(__FILE__,'amw_hooks_install');
    195 register_deactivation_hook(__FILE__, 'amw_hooks_uninstall');
     193register_activation_hook(__FILE__, 'amw_hooks_install');
     194register_uninstall_hook(__FILE__, 'amw_hooks_uninstall');
    196195
    197196// admin stuff
     
    203202add_action('wp_head', 'amw_hooks_head');
    204203add_action('wp_footer', 'amw_hooks_footer');
    205 
    206 ?>
Note: See TracChangeset for help on using the changeset viewer.