Plugin Directory

Changeset 1599750


Ignore:
Timestamp:
02/20/2017 12:51:50 PM (9 years ago)
Author:
Sohelwpexpert
Message:

Update Some Debugging Code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-event-calender/trunk/plugin-hook.php

    r1291333 r1599750  
    44Plugin URI: http://paisleyfarmersmarket.ca/sohels/
    55Description: This plugin will adds event calender feature in your wordpress.
    6 Author: md sohel
     6Author: sohelwpexpert
    77Text Domain: event-calender-wordpress
    88Author URI: http://paisleyfarmersmarket.ca/sohels/
    9 Version: 1.0
     9Version: 1.1
    1010*/
    11 
    1211
    1312/*Some Set-up*/
     
    1514
    1615
     16
     17function ms_wp_event_calnder_plugin_main_js() {
     18/**
     19 * Register global styles & scripts.
     20 */
     21wp_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
    1725load_plugin_textdomain( 'event-calender-wordpress', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
     26
     27/**
     28 * Enqueue global styles & scripts.
     29 */
     30 
     31wp_enqueue_style('event-calender-wordpress-css');
     32
     33wp_enqueue_script('jquery');
     34}
     35add_action( 'wp_enqueue_scripts', 'ms_wp_event_calnder_plugin_main_js' );
     36
    1837
    1938
     
    352371<?php }
    353372
    354 /* Registering Plugin CSS */
    355 wp_enqueue_style('event-calender-wordpress-css', PRO_EVENT_CALENDER_WORDPRESS.'css/style.css');
    356373
    357374
     
    483500            'id' => $prefix . 'date',
    484501            'type' => 'text',
    485             'std' => '11/17/2015'
     502            'std' => '11/17/2016'
    486503        ),
    487504        array(
Note: See TracChangeset for help on using the changeset viewer.