Jump to content
Sign in to follow this  
harryfear

Custom.js

Recommended Posts

harryfear

How do I enable the custom.js file to be used on each page? I see that there is a file named "custom.js" in the "js" folder of the theme, but it doesn't seem to be referenced anywhere. How do I enable its usage? Thanks.

Share this post


Link to post
Share on other sites
cmunns

I deleted your other post to avoid duplicate content. To get the custom.js file loaded you have to link to it in header.php like you would with any other custom css or js. What theme are you using and what's your goal here?

Share this post


Link to post
Share on other sites
harryfear

hey! thanks! so much! i only just saw your reply! i am trying to inject my jquery custom code here. :)

Share this post


Link to post
Share on other sites
cmunns

Oh you want to post it here? Sometimes the "code" button doesn't work very well. You can wrap the code with the accent or tilde key (above the tab on a mac)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×