public function register_styles_scripts()
 {
     global $eventon_dv;
     wp_register_style('evo_dv_styles', $eventon_dv->plugin_url . '/assets/dv_styles.css');
     wp_register_script('evo_dv_mousewheel', $eventon_dv->plugin_url . '/assets/jquery.mousewheel.min.js', array('jquery'), $eventon_dv->version, true);
     wp_register_script('evo_dv_script', $eventon_dv->plugin_url . '/assets/dv_script.js', array('jquery'), $eventon_dv->version, true);
     if (has_eventon_shortcode('add_eventon_dv')) {
         // LOAD JS files
         $this->print_scripts();
     }
     add_action('wp_enqueue_scripts', array($this, 'print_styles'));
 }
Пример #2
0
 public function register_styles_scripts()
 {
     wp_register_style('evo_fc_styles', $this->addon_data['plugin_url'] . '/assets/fc_styles.css');
     wp_register_script('evo_fc_ease', $this->addon_data['plugin_url'] . '/assets/jquery.easing.1.3.js', array('jquery'), 1.0, true);
     wp_register_script('evo_fc_mobile', $this->addon_data['plugin_url'] . '/assets/jquery.mobile.min.js', array('jquery'), 1.0, true);
     wp_register_script('evo_fc_script', $this->addon_data['plugin_url'] . '/assets/fc_script.js', array('jquery'), 1.0, true);
     if (has_eventon_shortcode('add_eventon_fc')) {
         // LOAD JS files
         $this->print_scripts();
     }
     add_action('wp_enqueue_scripts', array($this, 'print_styles'));
 }
Пример #3
0
 /**	Styles for the tab page	 */
 public function register_styles_scripts()
 {
     wp_register_style('evo_el_styles', $this->plugin_url . '/assets/el_styles.css');
     wp_register_script('evo_el_script', $this->plugin_url . '/assets/el_script.js', array('jquery'), 1.0, true);
     if (has_eventon_shortcode('add_eventon_el')) {
         // LOAD JS files
         $this->print_scripts();
     }
     add_action('wp_enqueue_scripts', array($this, 'print_styles'));
 }