Skip to content
Free

Foliora Viewer and Library blocks

Add PDFs in the block editor with a Media Library picker, a first-page preview and every option in the sidebar.

1 min read Updated

On this page

Foliora Viewer block#

  1. Click + and search for Foliora Viewer (keywords: pdf, document, viewer, flipbook).
  2. Click Select PDF to choose or upload a file. The block shows a preview of the first page in the editor.
  3. Adjust the options in the block sidebar.

Block options#

OptionSame as
PDF filefile
Saved embed IDid — reuse an embed saved in the Shortcode Builder
View — Single page, Continuous scroll, Two-page spread, 3D FlipBookview
Width / Heightwidth, height
Start pagepage
Titletitle
Show download / printdownload, print
Remember last pageresume

The block supports wide and full alignment. For options the sidebar doesn't list (for example theme or hide), use the shortcode or a saved embed.

Foliora Library block#

Shows a grid of your Media Library PDFs — the same as [foliora_library]. Set columns, documents per page, order and whether the search box is shown. See Document library.

Translating block content#

Foliora ships a wpml-config.xml, so the viewer block's file and title can be translated with WPML. See Multilingual sites.

Converting a classic post? Paste the shortcode into a Shortcode block — the output is identical to the Foliora Viewer block.