Changeset 712081
- Timestamp:
- 05/12/2013 10:29:57 PM (13 years ago)
- Location:
- superfish/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
superfish.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
superfish/trunk/readme.txt
r649996 r712081 3 3 Tags: menu, superfish, jquery, thesis 4 4 Requires at least: 3.0 5 Tested up to: 3.5 5 Tested up to: 3.5.1 6 6 Stable tag: 1.0 7 7 … … 19 19 == Changelog == 20 20 21 = 1.1 = 22 23 * Updated to work with more menus 24 * Updated superfish script to 1.7.2 (latest) 25 21 26 = 1.0 = 22 27 -
superfish/trunk/superfish.php
r650256 r712081 5 5 Description: Adds jQuery Superfish effects to most WordPress menus. 6 6 Author: Matt Hodder 7 Version: 1. 07 Version: 1.1 8 8 Author URI: http://www.matthodder.com/ 9 9 */ … … 11 11 add_action('wp_enqueue_scripts', 'mh_superfish'); 12 12 function mh_superfish() { 13 if(!is_admin()) wp_enqueue_script('superfish', plugins_url( 'js/superfish.js', __FILE__ ), array('jquery'), '1.4.8', TRUE); 14 if(!is_admin()) wp_enqueue_script('superfish-args', plugins_url( 'js/superfish_args.js', __FILE__ ), array('jquery'), '1.4.8', TRUE); 13 wp_register_script('superfish', plugins_url( 'js/superfish.js', __FILE__ ), array('jquery'), '1.7.2', TRUE); 14 wp_register_script('superfish-args', plugins_url( 'js/superfish_args.js', __FILE__ ), array('jquery'), '1.7.2', TRUE); 15 16 if(!is_admin()) wp_enqueue_script('superfish'); 17 if(!is_admin()) wp_enqueue_script('superfish-args'); 15 18 }
Note: See TracChangeset
for help on using the changeset viewer.