Skip to content

Flipset shortcode and block settings

Every attribute of [flipset] and [flipset_library], with its values and defaults.

On this page
  1. The viewer: [flipset]
  2. Examples
  3. The library: [flipset_library]

The block, the shortcode and the page-builder widgets all use the same settings. In the block they appear in the sidebar; in the shortcode you write them as attributes.

The viewer: [flipset]

Only file is required. Leave an attribute out to use the default from Flipset → Settings.

Attribute Values What it does
file PDF URL The document to show. Required.
id A saved embed number Use a saved embed from the Shortcode Builder. Attributes you write on the shortcode win over the saved ones.
width, height A number with a CSS unit, such as 100% or 600px Size of the viewer. Defaults are 100% and 600px, or what you set in Settings.
view page, scroll, spread, flip Single page (default), continuous scroll, two-page spread, 3D flipbook.
page A page number The page to open on. Default 1.
theme light, dark, sepia The reading theme.
title Text An optional caption.
download, print, search, share, shortcuts, presentation, fullscreen true or false Show or hide that control. Left out means use the Settings default.
theme_btn true or false The button that switches between light, dark and sepia.
hide A comma-separated list Hide controls: nav, zoom, fit, rotate, view, pan, download, print, search, theme, share, shortcuts, presentation, fullscreen.
loading eager, lazy Whether the viewer loads at once or when it scrolls into view. The default follows the lazy loading setting.
hash true or false Keep #page=N in the address in step with the page. Default true.
resume true or false Remember the last page on the visitor’s device. Default true.

Examples

[flipset file="https://example.com/brochure.pdf"]
[flipset file="https://example.com/brochure.pdf" view="flip" theme="dark"]
[flipset file="https://example.com/terms.pdf" download="false" print="false"]
[flipset file="https://example.com/guide.pdf" page="4" hide="share,fullscreen"]

The library: [flipset_library]

Attribute Values What it does
columns A number Columns in the grid.
per_page A number Documents per page.
orderby date, title, modified What to sort by.
order ASC, DESC Sort direction.
search true, false Show the search box.
[flipset_library columns="4" per_page="16" orderby="title" search="true"]

Not sure which attributes you need? The Shortcode Builder shows a live preview and writes the shortcode for you. See Shortcode Builder and saved embeds.

Find your product