Sydney Child with custom Javascript

Hi,

I am currently using Sydney Child theme with Smart Slider 3. I would like to add a custom javscript into my header.php in order to make one of my buttons responsive and able to change the slides in the Smart Slider 3.
May i know where should i add the following js codes?

<script type="text/javascript">
jQuery(document).ready(function(){
    n2ss.ready(183, function(slider){
        jQuery('.switch').click(function(){
            slider.slide(1);
        });
    });
});
</script>

my website is www.24hires.com

Please advice,

Thanks in advanced.

Regards,
Jeffrey.

Hello Jeffrey,

You can try to use Insert Headers and Footers plugin:

Also you can check this link:

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Hello, can you tell us how to insert the snippet to insert telephone number in header without using plugins? I’m using a child theme and tryed using the functions.php file but didn’t work.

Regards,
Fabio Bianchi

Hello Fabio,

Sydney Pro theme has Header contact info area that might meet your needs, you can check it on Sydney Pro demo site here:
http://demo.athemes.com/sydney-pro/

Also you can check this topic if you don’t want to upgrade to Sydney Pro:

Please feel free to create a new topic if you have any other questions.

Kind Regards, Roman.