Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move jQuery and page JS to page footer #28

Closed
wesbos opened this issue Apr 15, 2011 · 2 comments
Closed

Move jQuery and page JS to page footer #28

wesbos opened this issue Apr 15, 2011 · 2 comments

Comments

@wesbos
Copy link

wesbos commented Apr 15, 2011

Doesn't ned to be in the head. Only modernizr needs to go in the head. Great idea for a theme though, I'll probably clean up a few of the issues I post.

@retlehs
Copy link
Member

retlehs commented Apr 15, 2011

the reason why i haven't done this is because when i tried to in the past it conflicted with various plugins that forced javascript in wp_head and also sometimes inline in the content area.

any ideas on how to do it while handling that?

@wesbos
Copy link
Author

wesbos commented Apr 15, 2011

Ahh, that makes sense...

There are ways to force the JS to the footer (I used a plugin once..) but most plugin authors still aren't up to speed on script loading so I guess it would be best to leave jQuery up at the top.

@retlehs retlehs closed this as completed Apr 15, 2011
oxyc pushed a commit to generoi/sage that referenced this issue May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants