Changeset 1915860
- Timestamp:
- 07/27/2018 12:19:05 PM (8 years ago)
- Location:
- fixed-bar/tags/1.0.2
- Files:
-
- 1 added
- 4 deleted
- 2 edited
-
css/font-awesome.min.css (added)
-
css/fontawesome-iconpicker.min.css (deleted)
-
css/fontawesome.css (deleted)
-
fixed-bar.php (modified) (3 diffs)
-
js/fontawesome-iconpicker.min.js (deleted)
-
js/fontawesome.js (deleted)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fixed-bar/tags/1.0.2/fixed-bar.php
r1915853 r1915860 4 4 Plugin URI: ... 5 5 Description: Adds a fixed block and the button to your site. 6 Version: 1.0. 26 Version: 1.0.1 7 7 Author: Herman Radchenko 8 8 Author URI: https://vk.com/german_red … … 26 26 27 27 // requiring admin page 28 29 28 require_once( plugin_dir_path( __FILE__ ) . '/inc/function-settings-page.php' ); 30 29 … … 33 32 34 33 // adding styles and scripts 35 add_action('wp_enqueue_scripts', 'fixbar_setting_up_scripts' );34 add_action('wp_enqueue_scripts', 'fixbar_setting_up_scripts', 5); 36 35 37 36 function fixbar_setting_up_scripts() { 38 wp_register_style( 'fixed-bar-css', plugins_url( '/css/style.css', __FILE__ ) );37 wp_register_style( 'fixed-bar-css', plugins_url( '/css/style.css', __FILE__ ), array(), '20120208', 'all' ); 39 38 wp_enqueue_style( 'fixed-bar-css' ); 40 wp_ enqueue_script( 'jquery');41 wp_enqueue_script( 'fontawesome.js', plugins_url('/js/fontawesome.js', __FILE__ ), array( '' ), '1.0.0', true);42 wp_enqueue_script( 'main.js', plugins_url('/js/main.js', __FILE__ ), array( 'jquery' ) , '1.0.0', true);39 wp_register_style( 'font-awesome', plugins_url('/css/font-awesome.min.css', __FILE__ ), array(), '4.7.0', 'all' ); 40 wp_enqueue_style( 'font-awesome' ); 41 wp_enqueue_script( 'main.js', plugins_url('/js/main.js', __FILE__ ), array( 'jquery' )); 43 42 } 44 43 -
fixed-bar/tags/1.0.2/readme.txt
r1915853 r1915860 6 6 Tested up to: 4.7 7 7 Requires PHP: 5.2.4 8 Stable tag: 1.0. 28 Stable tag: 1.0.1 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.