WP2PDF Shortcode
Export Formidable Forms Views to PDF with a Shortcode
by Jeremy Varnham · github.com/jvarn/pdf-shortcode · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jvarn/pdf-shortcode/archive/refs/heads/main.zipReadme
WP 2 PDF Shortcode
Export Formidable Forms Views or Wordpress Pages to PDF with a Shortcode.
A simpler up-to-date replacement for Formidable Pro PDF Extended.
NB: This is currently an early alpha plugin and should only be used for testing.
Requirements
- PHP 7.4
- Formidable Forms Pro
- Formidable Forms Visual Views addon
Installation
- Clone or download.
- Install dependencies with Composer:
$ cd ff-views-pdf $ composer install - Upload to plugins directory and activate.
- Set your default options via
options-general.php?page=options-ffviewpdf. - Set inline options in shortcodes (see below).
Usage
- Export Formidable View as PDF
[wp2pdf viewid=X type=view] - Export current page as PDF
[wp2pdf type=page]
Other options
Page orientation
- Landscape
[wp2pdf orientation=L] - Portrait
[wp2pdf orientation=P]Direction
- Left-to-Right
[wp2pdf direction=ltr] - Right-to-Left
[wp2pdf direction=rtl]Custom filename
Filename without .pdf file extension.
[wp2pdf filename=newfile]
Note
Advanced configuration options are available by following the mPDF documentation.