Include css and js in plugins

wp_register_style(‘your_css_and_js’, plugins_url(‘style.css’,__FILE__ ));
wp_enqueue_style(‘your_css_and_js’);
wp_register_script( ‘your_css_and_js’, plugins_url(‘your_script.js’,__FILE__ ));
wp_enqueue_script(‘your_css_and_js’);

  Like
Author: bm on January 10, 2014
Category: wordpress

Your comment:

Your Name

Comment:




Last articles