/ Published in: PHP
                    
                                        Snippet for adding to your functions.php file to enqueue jQuery.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 <?php function my_init_method() { if( !is_admin() ) { wp_enqueue_script( 'jquery' ); } } add_action('init', 'my_init_method'); ?>
Comments
                    Subscribe to comments
                
                