Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Alimir

    (@alimir)

    And Use enqueues in a function, like:

    function my_scripts_method() {
    	//Include Javascript library
    	wp_enqueue_script('inkthemes', plugins_url( '/js/demo.js' , __FILE__ ) , array( 'jquery' ));
    	wp_enqueue_script('jquery-mousewheel', plugins_url( '/js/jquery.mousewheel.js' , __FILE__ ));
    	wp_enqueue_script('perfect-scrollbar', plugins_url( '/js/perfect-scrollbar.js' , __FILE__ ));
    	wp_enqueue_style('kento-vote-style', KENTO_VOTE_PLUGIN_PATH.'css/style.css');
    	wp_enqueue_style('perfect-scrollbar', KENTO_VOTE_PLUGIN_PATH.'css/perfect-scrollbar.css');
    }
    add_action( 'wp_enqueue_scripts', 'my_scripts_method' );

    Plugin Author PluginsPoint

    (@kentothemes)

    Ooops sorry for your late reply…

    Thanks for your feedback and i will fix and update plugin.

    Best Wish to you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin Errors’ is closed to new replies.