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
  #4  
Old 07-05-2011, 05:16 PM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

instead of using include with a php file, you should use a .js file and wp_enqueue_script
http://codex.wordpress.org/Function_...enqueue_script
__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series

 

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you find the path of a css file? mrsgooding General Discussion 1 02-15-2010 01:28 AM
Church.xml file included in theme? southatlantic General Discussion 2 12-10-2009 12:49 PM
.PSD File Is Supposed to be Included? jeffboyle General Discussion 7 10-21-2009 02:51 PM
Demo Content not included when xlm file Imported richardantondiaz General Discussion 2 10-09-2009 09:06 AM
Where in Wordpress Can I Change the Parent Directory Path cartess3 General Discussion 3 12-18-2008 04:56 PM


All times are GMT -5. The time now is 04:04 PM.

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