Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

icetek on "Made all my posts appear in FancyBox; Plugins don't load in iframe view-source:"

$
0
0

I made all my clicks to posts open single.php in a FancyBox modal javascript window. I'm noticing that my plugins which normally load in single.php are not loading at all in the modal window. I put a ?lightbox=1 argument to the URL for the hook. I've copied everything from added some custom CSS. Basically I engineered single.php to have everything header.php has (minus the menu creation) plus added custom CSS, with !important and max-width flags so it fits the iframe well.

Skipping get_header and doing everything up to the <body> tag did this.. I do not know what to do. When You are putting your site's single.php in a modal iframe window, you want to skip the menu and footer- content only and add custom CSS with !important to make your post area fit the size of the iframe. For some reason my plugins wont load.


Viewing all articles
Browse latest Browse all 8245

Trending Articles