[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 620
  • Last Modified:

How to Activate Javascript in WordPress Blog Theme

Our current web site blog here uses Javascript and WordPress.  The Javascript is called in the header and the header is inside the theme index.php file itself.

http://www.himlayanacademy.com/taka 

The javascript is all working, it fires as expected.

We are renovating this site completely and the dev site Blog  I run the same version of Word Press and got smart this time and moved the opening of the document and navigation to a "header.php" file... it is also html 5 and not html XHTML-1 strict.

but, the Javascript is all none responsive.  

What is the Magic to turn it all on... I'm not talking here about JS inside posts, that will come later... just JS on the page itself?

Why doesn't it run?
0
Sivakatirswami
Asked:
Sivakatirswami
  • 2
  • 2
1 Solution
 
SivakatirswamiAuthor Commented:
oops, forgot to give the URL to the dev site blog:

http://dev.himalayanacademy.com/blog/taka
0
 
Jason C. LevineNo oneCommented:
The magic would be to check your paths and make sure all script paths are valid and don't 404 on you.

http://dev.himalayanacademy.com/assets/http/assets/js/jquery.cycle.all.js

returns a 404 error.
0
 
SivakatirswamiAuthor Commented:
Jumpin' Gekkos! (we live in Hawaii)  it works...

Sheesh! I thought I had fixed that... I "gotta stop coding so late in the evening" and turn on FireBug  first instead of running to EE...

Easy 5C for the Sage

Thanks Jason!
0
 
Jason C. LevineNo oneCommented:
We've all done it.  You're in good company :)
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now