Loading script only on homepage
Okay, so I’ve been trying to use wp_enqueue_script for weeks and I still can’t seem to figure it out.
I finally figured out what’s wrong with my web site. There are two scripts on my homepage which are screwing up the plugins on my other pages. If I could get those scripts to load ONLY on the home page, then they wouldn’t mess with my other page’s plugins.
Can anyone please help me with this? I don’t even know WHERE to put wp_enqueue_script, let alone why it isn’t working… I’ve read the function reference page a dozen times and it’s assuming I know things I don’t…
Please, any help would be wonderful.
- The topic ‘Loading script only on homepage’ is closed to new replies.