I am trying to move an existing site into WordPress for it's CMS capabilities. The site uses the galleria classic theme from http://galleria.aino.se/. This works fine outside of wordpress, but as soon as it is added to wordpress, it no longer works and all I get is all of the images displayed one on top of the other. I have made each of my pages templates in order to not change any of the existing code except for adding
<?php /* Template Name: Home Page
*/?>
When I run the site in Firefox, Firebug gives the following error:
Galleria is not defined
[Break On This Error] Galleria.loadTheme('galleria.classic.min.js');
If anyone can help with this I'd really appreciate it. Also I don't want to use a plugin for this.
Here is the code for the page that implements galleria:
[Code moderated as per the Forum Rules. Please use the pastebin]