Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Enqueue scripts and styles.
- */
- function wp_shaper_plugin_init() {
- if (!is_admin()) {
- }
- }
- add_action('init', 'wp_shaper_plugin_init');
- /** adding style sheet ***/
- function work_project_scripts() {
- wp_enqueue_style( 'style', plugins_url( '/css/style.css', __FILE__ ));
- wp_enqueue_script('jquery');
- wp_register_script ( 'work_project_showcase', plugins_url( '/js/jquery.aw-showcase.min.js', __FILE__ ) , array('jquery'), '20120206', true );
- wp_enqueue_script( 'work_project_showcase' );
- wp_register_script ( 'work_project_active',plugins_url( '/js/active.js', __FILE__ ), array('jquery'), '20120206', true );
- wp_enqueue_script( 'work_project_active' );
- wp_register_script ( 'work_project_custom_js_extra', plugins_url( '/js/extra.js', __FILE__ ) , array('jquery'), '20120206', true );
- wp_enqueue_script( 'work_project_custom_js' );
- }
- add_action( 'wp_enqueue_scripts', 'work_project_scripts' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement