Very strange.. Page Template = Javascript not running properly
-
This is a strange one and It’s really got me stumped..
I’ve created two pages with exactly the same content (using custom-content-type-manager fields).
The first one, which is run via it’s own custom post_type and custom template works perfectly. (‘library’ is the post_type and it calls a single-library.php custom template)
https://www.grantnelson.net/v6/library/agnes-i-need-you-now
The second, run from a standard “Page” style post using a custom template (containing exactly the same code as the one above) loads all the elements but the music player doesn’t initialize or load / play tracks correctly!
https://www.grantnelson.net/v6/agnes-i-need-you-now
If you look at the source on both pages you’ll see that it’s identical, but for some reason it is failing on the second page.
The only conclusion that I can draw is that “pages” that load custom templates don’t load or operate in the same way as using a complete custom post type (including custom template).
Can anybody shed any light on this please? Is there any reason that you can see why the player isn’t working on the second page?
To avoid confusion my WP install is located in the directory “v6”
Cheers.
- The topic ‘Very strange.. Page Template = Javascript not running properly’ is closed to new replies.