Custom WP theme with AJAX menu conflicting with RoyalSlider
Hi. First...thank you for this plugin. It looks awesome and I look forward to creating a custom skin.
Here is my problem. My custom WP theme is breaking RoyalSlider. If I switch back to the Twenty Twelve theme for example, it works great. The problem is this is my first time building an AJAX nav menu. It's also my first time building a custom WP theme (I used the HTML5 Reset blank theme as a base). For these reasons I'm the first to admit the code is a bit messy. The URL is clearly a mess:
http://studiodezen.com/wordpress/#http://studiodezen.com/wordpress/faded-rs/
I read this very helpful article: http://help.dimsemenov.com/kb/wordpress-royalslider-faq/wp-slider-looks-correctly-in-preview-but-when-i-add-it-to-site-it-doesnt-work
That's how I figured out that the theme is definitely the culprit. It seems to be calling jQuery correctly so I don't think that's the problem. The Chrome console is showing errors. I assume this is the problem. I just don't know how to fix it. Here are the errors:
Uncaught TypeError: Cannot read property 'msie' of undefined jquery.ba-hashchange.min.js:9
Resource interpreted as Font but transferred with MIME type application/x-font-woff: "http://studiodezen.com/wordpress/wp-content/themes/HTML5-Reset-Wordpress-Theme/_/inc/fonts/dinproregular/dinproregular.woff". studiodezen.com/:1
Resource interpreted as Font but transferred with MIME type application/x-font-woff: "http://studiodezen.com/wordpress/wp-content/themes/HTML5-Reset-Wordpress-Theme/_/inc/fonts/dinprolight/dinprolight.woff". studiodezen.com/:1
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains. ping?client_id=172525162793917&response_type=token%2Csigned_request%2Ccode&…om%252Ffb4507444%26domain%3Dstudiodezen.com%26relation%3Dparent&sdk=joey:1
Uncaught Error: Syntax error, unrecognized expression: a[href=http://studiodezen.com/wordpress/faded-rs/] jquery.js:9597
Thank you for your help!
Read more...
help.dimsemenov.com
No comments:
Post a Comment