replace header image with javascripted images
-
I’d like to replace my static header image with a rotating set of javascripted images based on the time of day. I already have the script and tested it on it’s own html page here:
https://www.larkinsfam.com/annieblog/wp-content/themes/babyblog-itsaboy/test.htmlI’m usually pretty good at modifying the code but I’ve tried a million things and can’t get this to work. I tried saving the script as a separate js file but I’m not quite sure the proper syntax on how to call the script from the php. I also tried dropping the script directly into my index file but it breaks my layout and doesn’t display anything any way. Any help from you code wizzes is greatly appreciated.
My WP blog address:
https://www.larkinsfam.com/annieblog/
- The topic ‘replace header image with javascripted images’ is closed to new replies.