StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-14-2012, 12:58 PM
thamesidemedia thamesidemedia is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Jan 2012
Location: London
Posts: 35
Default Adding javascript link to head via theme settings or hooks

I have read through how to enqueue javascript in the WordPress codex http://codex.wordpress.org/Function_...enqueue_script, and done several experiments, but I don't fully understand how this works with Genesis.

I'm unclear about these things:

1. If I add javascript links to the head using the Genesis theme settings panel, does Genesis automatically use the WordPress enqueue function?

2. What is the best way to enable the in-built WordPress jQuery library through Genesis?

3. If I only want the javascript on one template rather than throughout the theme, what is the best way to add it in Genesis?

4. Is it ok to add javascript within the Loop without enqueuing?

I'd be very grateful to anyone who can help.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:48 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.