Changeset 1599750
- Timestamp:
- 02/20/2017 12:51:50 PM (9 years ago)
- File:
-
- 1 edited
-
wp-event-calender/trunk/plugin-hook.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-event-calender/trunk/plugin-hook.php
r1291333 r1599750 4 4 Plugin URI: http://paisleyfarmersmarket.ca/sohels/ 5 5 Description: This plugin will adds event calender feature in your wordpress. 6 Author: md sohel6 Author: sohelwpexpert 7 7 Text Domain: event-calender-wordpress 8 8 Author URI: http://paisleyfarmersmarket.ca/sohels/ 9 Version: 1. 09 Version: 1.1 10 10 */ 11 12 11 13 12 /*Some Set-up*/ … … 15 14 16 15 16 17 function ms_wp_event_calnder_plugin_main_js() { 18 /** 19 * Register global styles & scripts. 20 */ 21 wp_register_style('event-calender-wordpress-css', PRO_EVENT_CALENDER_WORDPRESS.'css/style.css'); 22 23 //wp_register_script('easy-news-js', PRO_EVENT_CALENDER_WORDPRESS.'js/jquery.ticker.min.js', array( 'jquery' )); 24 17 25 load_plugin_textdomain( 'event-calender-wordpress', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); 26 27 /** 28 * Enqueue global styles & scripts. 29 */ 30 31 wp_enqueue_style('event-calender-wordpress-css'); 32 33 wp_enqueue_script('jquery'); 34 } 35 add_action( 'wp_enqueue_scripts', 'ms_wp_event_calnder_plugin_main_js' ); 36 18 37 19 38 … … 352 371 <?php } 353 372 354 /* Registering Plugin CSS */355 wp_enqueue_style('event-calender-wordpress-css', PRO_EVENT_CALENDER_WORDPRESS.'css/style.css');356 373 357 374 … … 483 500 'id' => $prefix . 'date', 484 501 'type' => 'text', 485 'std' => '11/17/201 5'502 'std' => '11/17/2016' 486 503 ), 487 504 array(
Note: See TracChangeset
for help on using the changeset viewer.