Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function addHeaderCode() {
- if (is_front_page()) :
- wp_enqueue_script('2x2slider', get_bloginfo('wpurl') . '/wp-content/plugins/2x2-post-slider/animation.js', array('jquery') );
- endif;
- }
- add_action('wp_head', 'addHeaderCode');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement