How to specify a page number in PDF lightbox


WonderPlugin Lightbox Version 6.8 or above


Is there a method for using the lightbox plugin to link to a specific page of the pdf?


Yes, you could add #page=PAGENUMBER to the end of the PDF URL, for example,

A demo is as follows:

Open PDF page 2 in Lightbox

The PDF URL must also comply with the following requirements:

  • The PDF file MUST be hosted on the SAME DOMAIN as your WordPress website.
  • The PDF URL MUST be an absolute URL, that's, the URL must start with http:// or https://.
  • Make sure there are no special characters in the PDF URL, for example, apostrophes, double quotes, accented letters etc.