• Nice plugin. I chose your WP plugin for static pages because it works better than the latest versions on GIT.

    However I am using viewer.php as an include and as such cannot pass the PDF file name. Apparently the JS gets the file name via Windows.File but as yet I have been unable to work out how to pass the file name as a simple request variable so that JS can get it.

    Your suggestion will be most appreciated.

    • This topic was modified 3 years, 6 months ago by ArtistScope.
Viewing 1 replies (of 1 total)
  • Plugin Author Thomas McMahon

    (@twistermc)

    The PDF just gets passed through the URL

    viewer.php?file=https://olaf.local/wp-content/uploads/2020/09/olaf.local_.pdf

    If you’re unable to do that, then I don’t currently have a solution.

Viewing 1 replies (of 1 total)
  • The topic ‘How to load PDF when viewer.php is an include page’ is closed to new replies.