
It is possible to specify a fixed height (e.g. The height will be calculated so that the document fits naturally, given the width already calculated. In all cases, if the parent container is narrower than the width calculated above, then the document width will be reduced to the size of the container. width='500') then it will display at that number of pixels wide. If width='max' the width will take as much space as possible within its parent container (e.g.Note the default value for width is 'max'. You can optionally override width and height as follows:

set site-wide defaults) through the page Settings -> PDF Embedder in your WordPress admin.Īll the settings there can also be overridden for individual embeds by adding parameters to the shortcode to configure how the document displays.

You can change the shape and toolbar appearance of all embeds on your site (i.e.

When you publish the post or page, this should display as an embedded document viewer for your users to step through the PDF! Customizing the viewer Drag and drop your PDF anywhere into the media library and then click 'Insert into post'. In your page/post editing screen, click 'Add Media'. Inserting a PDF is as easy as uploading an image into a WordPress page.
