Support » Plugin: Easy FancyBox » Show PDF in a popup using main menu and your plugin

  • Okay, I’ve figured out how to show a popup page using the CSS field via the menu.

    But how do I show a pdf file using your plugin, where clicking a menu item will show a popup of the pdf? Or, better yet, is there a way to show the “text only” from a page I created, thereby skipping the pdf idea altogether, and not an inline of the whole web page??

    All I want to do is be able to create a list of hyperlinks, all organized to my liking, where a user will be able click on the menu, a popup will show using your plugin, and then the user can choose the hyperlink and it will take them to that specific page. Simply, right? 😉

    Appreciate any responses. Hopefully my stupidity will help others as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RavanH


    In theory, this can be done. In practice, it will be difficult. There are different routes you can take but each one has its downsides.

    In your case, wanting to open up page content inside an iframe from the main menu, you’d need to start modifying your theme templates so that when showing single page/post content, there will be no header/menu/sidebar/etc. shown with it. This will be making it look good inside the FancyBox iframe. But then, this method is not very search engine friendly in the sense that when visitors arrive via a search engine straight on a post or page, they will not be able to browse to other pages because there is no menu.

    Unless… well, it’s difficult to pull off.

    I had a feeling that was going to be the case. Oh well.

    Ravan, what about just showing a pdf file using your plugin? I could easily create a pdf with links in it and do the same thing. Plus, then I can share the pdf within the wp network and setup a link on each site, saving me time in the long run which would be a nice thing.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show PDF in a popup using main menu and your plugin’ is closed to new replies.