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.
Foliora Viewer block#
- Click + and search for Foliora Viewer (keywords: pdf, document, viewer, flipbook).
- Click Select PDF to choose or upload a file. The block shows a preview of the first page in the editor.
- Adjust the options in the block sidebar.
Block options#
| Option | Same as |
|---|---|
| PDF file | file |
| Saved embed ID | id — reuse an embed saved in the Shortcode Builder |
| View — Single page, Continuous scroll, Two-page spread, 3D FlipBook | view |
| Width / Height | width, height |
| Start page | page |
| Title | title |
| Show download / print | download, print |
| Remember last page | resume |
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.