Posted By

oriontimbers on 11/06/10


Tagged

php wordpress jquery slidedeck enqueue


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

chendrix


WordPress Enqueue Scripts - jQuery


 / Published in: PHP
 

URL: http://support.slidedeck.com/slidedeck/topics/please_walk_me_through_these_steps_im_not_an_idiot_but_pretend_i_am

Snippet for adding to your functions.php file to enqueue jQuery.

  1. <?php
  2. function my_init_method() {
  3. if( !is_admin() ) {
  4. wp_enqueue_script( 'jquery' );
  5. }
  6. }
  7. add_action('init', 'my_init_method');
  8. ?>

Report this snippet  

You need to login to post a comment.