From the Knowledge Base

Auto-generate a WordPress page to embed the PDF

Generally, you will use the plugin to embed a PDF in a WordPress page through the 'Add Media' button in the page editor, selecting the PDF you want in the page. You can add further content above and below the

Stop the [pdf-embedder] shortcode being inserted into posts automatically

When you select a PDF from the Media Library to insert into your post, by default PDF Embedder will insert it as a shortcode: [pdf-embedder url="<url of PDF>"]. This will cause it to use the plugin's interactive viewer to display

Can I write PHP code to change the shortcode parameters?

You can set most settings in the Settings -> PDF Embedder page in WordPress. These apply to all embeds by default, but you can override the settings of individual embeds by manually adding shortcode parameters to the individual [pdf-embedder] shortcodes

Hiding the embedder's border or changing color/styles

It should be possible to override the border color by adding something like this to your Theme's styles: /* CHANGE BORDER COLOUR */ div.pdfemb-viewer { border: 1px solid red !important; } To hide the border, you would use: /* HIDE

Serving PDFs from Dropbox

CORS is already enabled on some Dropbox domains, so it can be possible to embed PDFs directly from Dropbox, although only if your site is running under HTTPS. Try the following. Obtain the 'share' link from Dropbox ('Copy Dropbox link'

Hosting PDFs on other services such as Amazon S3 or a CDN

By default, web browsers have security policies that do not allow Javascript code to fetch files from a different domain to the web page on which the code is already running. However, it is possible to configure Amazon S3 and

How to Center the PDF

The default settings of the plugin will display your PDF at 'maximum width' to fit the area available to it. If you specify a fixed width for your PDFs that is smaller than the width available, you will probably find

Top