Changeset 1915853
- Timestamp:
- 07/27/2018 12:08:08 PM (8 years ago)
- Location:
- fixed-bar/trunk
- Files:
-
- 2 edited
-
fixed-bar.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fixed-bar/trunk/fixed-bar.php
r1915850 r1915853 4 4 Plugin URI: ... 5 5 Description: Adds a fixed block and the button to your site. 6 Version: 1.0. 16 Version: 1.0.2 7 7 Author: Herman Radchenko 8 8 Author URI: https://vk.com/german_red … … 26 26 27 27 // requiring admin page 28 28 29 require_once( plugin_dir_path( __FILE__ ) . '/inc/function-settings-page.php' ); 29 30 … … 32 33 33 34 // adding styles and scripts 34 add_action('wp_enqueue_scripts', 'fixbar_setting_up_scripts' , 5);35 add_action('wp_enqueue_scripts', 'fixbar_setting_up_scripts'); 35 36 36 37 function fixbar_setting_up_scripts() { 37 wp_register_style( 'fixed-bar-css', plugins_url( '/css/style.css', __FILE__ ) , array(), '20120208', 'all');38 wp_register_style( 'fixed-bar-css', plugins_url( '/css/style.css', __FILE__ ) ); 38 39 wp_enqueue_style( 'fixed-bar-css' ); 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' ) );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 ); 42 43 } 43 44 -
fixed-bar/trunk/readme.txt
r1915850 r1915853 6 6 Tested up to: 4.7 7 7 Requires PHP: 5.2.4 8 Stable tag: 1.0. 18 Stable tag: 1.0.2 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.