Plugin Directory

Changeset 1712118


Ignore:
Timestamp:
08/11/2017 02:19:58 PM (9 years ago)
Author:
oxsn
Message:

General Update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • helpful-features/trunk/inc/twentytwenty/functions.php

    r1712107 r1712118  
    3939    function hefe_twentytwenty_enqueue_css(){
    4040        if(get_option('hefe_twentytwenty_customizer_control_enqueue')){
    41             wp_enqueue_style('hefe-twentytwnty-style', hefe_dir_url.'inc/twentytwnty/css/twentytwenty.css', array(), '1.0.0', 'all');
     41            wp_enqueue_style('hefe-twentytwenty-style', hefe_dir_url.'inc/twentytwenty/css/twentytwenty.css', array(), '1.0.0', 'all');
    4242        }
    4343    }
     
    5151    function hefe_twentytwenty_enqueue_js(){
    5252        if(get_option('hefe_twentytwenty_customizer_control_enqueue')){
    53             wp_enqueue_script('hefe-twentytwenty-event-move-script', hefe_dir_url.'inc/twentytwenty/js/cjquery.event.move.js', array('jquery'), '1.3.6', true);
     53            wp_enqueue_script('hefe-twentytwenty-event-move-script', hefe_dir_url.'inc/twentytwenty/js/jquery.event.move.js', array('jquery'), '1.3.6', true);
    5454            wp_enqueue_script('hefe-twentytwenty-script', hefe_dir_url.'inc/twentytwenty/js/jquery.twentytwenty.js', array('jquery'), '1.0.0', true);
    5555            wp_enqueue_script('hefe-twentytwenty-etc-script', hefe_dir_url.'inc/twentytwenty/js/twentytwenty-etc-script.js', array('jquery'), '1.0.0', true);
     
    6464    add_action('wp_enqueue_scripts', 'hefe_twentytwenty_register_css', 999999);
    6565    function hefe_twentytwenty_register_css(){
    66         wp_register_style('hefe-twentytwnty-style', hefe_dir_url.'inc/twentytwnty/css/twentytwenty.css', array(), '1.0.0', 'all');
     66        wp_register_style('hefe-twentytwenty-style', hefe_dir_url.'inc/twentytwenty/css/twentytwenty.css', array(), '1.0.0', 'all');
    6767    }
    6868}
     
    7474    add_action('wp_enqueue_scripts', 'hefe_twentytwenty_register_js', 999999);
    7575    function hefe_twentytwenty_register_js(){
    76         wp_register_script('hefe-twentytwenty-event-move-script', hefe_dir_url.'inc/twentytwenty/js/cjquery.event.move.js', array('jquery'), '1.3.6', true);
     76        wp_register_script('hefe-twentytwenty-event-move-script', hefe_dir_url.'inc/twentytwenty/js/jquery.event.move.js', array('jquery'), '1.3.6', true);
    7777        wp_register_script('hefe-twentytwenty-script', hefe_dir_url.'inc/twentytwenty/js/jquery.twentytwenty.js', array('jquery'), '1.0.0', true);
    7878        wp_register_script('hefe-twentytwenty-etc-script', hefe_dir_url.'inc/twentytwenty/js/twentytwenty-etc-script.js', array('jquery'), '1.0.0', true);
     
    9292    add_shortcode('hefe_twentytwenty_parent', 'hefe_twentytwenty_shortcode_parent');
    9393    function hefe_twentytwenty_shortcode_parent($atts, $content = null){
    94         wp_enqueue_style('hefe-twentytwnty-style');
     94        wp_enqueue_style('hefe-twentytwenty-style');
    9595        wp_enqueue_script('hefe-twentytwenty-event-move-script');
    9696        wp_enqueue_script('hefe-twentytwenty-script');
     
    122122    add_shortcode('hefe_twentytwenty_child_after', 'hefe_twentytwenty_shortcode_child');
    123123    function hefe_twentytwenty_shortcode_child($atts, $content = null){
    124         wp_enqueue_style('hefe-twentytwnty-style');
     124        wp_enqueue_style('hefe-twentytwenty-style');
    125125        wp_enqueue_script('hefe-twentytwenty-event-move-script');
    126126        wp_enqueue_script('hefe-twentytwenty-script');
Note: See TracChangeset for help on using the changeset viewer.