How to add a flipbook in Elementor: shortcode or widget
4 min read
Elementor has no flipbook widget of its own, and its PDF options stop at a link or a download button. With Real3D Flipbook there are two ways to put a real page-turning book on an Elementor page: paste a shortcode, or use the Elementor addon, which adds a flipbook widget to the panel.
Every flipbook has a shortcode. Open it under Real3D Flipbook in the WordPress admin and copy it. It looks like [real3dflipbook id="12"].
Edit the page with Elementor.
Drag the Shortcode widget onto the page.
Paste the flipbook’s shortcode and update the page.
The editor shows the shortcode, not the book, so open the page itself to see the result.
Shortcode parameters change how the flipbook appears on this page without touching its settings. Some useful ones:
Parameter
What it does
Example
mode
In the page, in a lightbox or full screen
mode="lightbox"
viewmode
webgl, 3d, 2d, swipe, scroll or simple
viewmode="swipe"
aspect
Width to height of the flipbook’s area
aspect="1.33"
lightboxtext
Text that opens the lightbox
lightboxtext="Read the catalog"
thumb
Cover image that opens the lightbox
thumb="https://…/cover.jpg"
startpage
Open on a page other than the cover
startpage="5"
For example, [real3dflipbook id="12" mode="lightbox" viewmode="swipe"] shows the cover image and opens the book in a lightbox, with pages that slide sideways.
Option 2: the Elementor addon
The addon adds a flipbook widget to the Elementor panel. Drop it on the canvas, then either pick one of your flipbooks or make one on the spot by uploading a PDF or pasting a PDF address.
The widget’s settings are in the panel, next to everything else on the page:
View mode: WebGL, 3D, 2D, swipe, scroll or simple.
Embed mode: normal (in the page), lightbox or fullscreen.
Container size for a flipbook shown in the page.
Lightbox text and image for the link or cover that opens it.
Lightbox CSS class to open it from any element.
You see the result in the editor as you change it, so there is no switching between the editor and the live page. Everything else, such as the toolbar, colors and table of contents, still comes from the flipbook’s own settings.
The addon costs $19 a year or $29 once for one site, and is also part of the bundle with all seven addons. See addons.
Open the flipbook from your own button
Often the best place for a flipbook on a landing page is behind a button: the page stays short, and the book only loads when someone wants it. Both options can do that with a CSS class.
Add a Button widget, or select an image or a heading.
On its Advanced tab, type a class name into CSS Classes, for example open-catalog.
Set the flipbook to open in a lightbox with that class: in the addon, use the Lightbox CSS class setting. With a shortcode, add mode="lightbox" class="open-catalog".
Every element with that class now opens the flipbook. The lightbox loads nothing until it is opened, so a page with several flipbooks behind buttons stays fast. Inline, lightbox or fullscreen compares the three ways to show a book.
Tips for Elementor layouts
Give an inline flipbook room. The book fills the width of its column. In a narrow column, a two-page spread gets small, so use a full-width section, or a lightbox.
Check the phone layout. In Elementor’s mobile preview, a spread may be too small to read. Swipe mode shows one page at a time on phones. See which flipbook view mode to use.
One flipbook in the page, the rest in lightboxes. Several books in the page all start loading at once. Behind buttons, each one loads only when it’s opened.
Questions about Elementor flipbooks
Do I need the addon to use a flipbook in Elementor?
No. The Shortcode widget works with any flipbook. The addon adds a widget with live preview and settings in the Elementor panel.
Can I show the flipbook on its own page instead?
Yes. Set the embed mode to fullscreen, or mode="fullscreen" in the shortcode, and the book fills the whole window. That suits a page made only for a catalog or a magazine issue.
Why does the editor show the shortcode instead of the flipbook?
The Shortcode widget is drawn on the live page, not in the editor. Preview or open the page to see the book, or use the addon for a live preview.
Can I show a different PDF with the same settings?
Yes. Add a pdf parameter to the shortcode, like [real3dflipbook id="12" pdf="https://…/spring.pdf"], to show another PDF with the same flipbook’s settings. In the addon, set the PDF address in the widget.
Is there an addon for WPBakery too?
Yes. The WPBakery addon does the same for WPBakery Page Builder.
No WordPress, Shopify or Wix? The JavaScript library puts the same flipbook on any page. A working example in a dozen lines, then lightbox, deep links, phone settings and the two errors almost everyone hits.
Photos, scans and exported pages can become a flipbook without a PDF. When images are the better choice, which sizes and formats to use, and what you give up.
How many people opened the catalog, how far they got, and which products they clicked. The events a flipbook sends to Google Analytics 4, and how to turn them into a report.
4 min read
Turn your PDFs into flipbooks
Catalogs, magazines and brochures with a realistic page flip, on WordPress, Shopify, Wix or any website.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.