ThemeNcode Docs

Shortcodes

Estimated reading: 1 minute

Embed a PDF viewer:

This shortcode will embed the PDF viewer in a page or post. Go to WordPress default editor and then search for PDF viewer block. Then there will be the following options:

Select PDF viewer to embed: Search with the name of the viewer and select the viewer that you want to show.
Width: Select the width of the viewer.
Height: Select the height of the viewer.
iFrame Title: Put the title of the iframe here
Jump to page: Put a number and the viewer will start from that number of page.

After that click Insert PDF viewer

Link to a PDF viewer:

Select Viewer to Link to: Search with the name of the viewer and select the viewer that you want to show.
Link Text: Put the text which will show as the link.
Link CSS Class: Put a name of a class so that you can add additional CSS later.
Link Target: Choose between same tab or new tab to open the link.
Jump to page: Put a number and the viewer will start from that number of page.

After that click Insert PDF viewer

Leave a Comment