I am trying to load embedded content using Fancybox into a custom Wordpress page template. The lightbox shows, but displays the next error, not the inline content.
Error: "The requested content could not be downloaded. Please try again later."
Here is the javascript I am using:
$(document).ready(function($) { $('a[href="#contact"]').fancybox({ helpers: { overlay: { opacity: 0.98, css: { 'background-color': '#fff' } } } }); });
Here is the HTML I want to render using Fancybox.
<a href="#contact">Inline content over here.</a>
Please note that I am trying to do this in a custom Wordpress page template. Any help would be greatly appreciated.
source share