Javascript in header.php only called on root page?
-
Hi!
In the Head tag in Header.php, I put a javascript that makes all three columns in my theme equal height.The script was recommended at Sitepoint and used to work fine.
Suddenly for no reason that I can spot, the javascript only gets executed when the root page is loaded. The root page is at root page
However if I load any other page on the site, the javascript does not get called in header.php, and the column height is not adjusted. See non root page
This behaviour seems very strange. I think it may be WP related – something to do with the way in which WP loads the different pho files…
Please help if you can!
C.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Javascript in header.php only called on root page?’ is closed to new replies.