WordPress to PDF
Fill PDF forms with post-data and meta-data to create dynamic PDF documents from Wordpress pages and posts.
Provide site users with a link to download a customized Portable Document Format (PDF) of a page and/or post. You'd be surprised at the amount of data that is available to merge to a PDF. See the list of fields and options below.
Provide site users with a link to download a customized Portable Document Format (PDF) of a page and/or post. You'd be surprised at the amount of data that is available to merge to a PDF. See the list of fields and options below.
Features:
Auto PDF
Auto Form
Visual Mapper
Export Item
Pre-Render Shortcodes:
Shortcodes that can be used as shortcode attributes:
- [id] - ID of Post.
- Usage:
[acf field="field_name" post_id="[id]"]
Shortcodes:
Shortcodes that can be used inside Wordpress E2pdf Template:
- [e2pdf-wp key="id"] - ID of Post.
- Usage:
[e2pdf-wp key="id"]
- Usage:
- [e2pdf-wp key="post_date"] - Post date
- Usage:
[e2pdf-wp key="post_date"]
- Usage:
- [e2pdf-wp key="post_date_gmt"] - Post date in GMT
- Usage:
[e2pdf-wp key="post_date_gmt"]
- Usage:
- [e2pdf-wp key="post_content"] - Content of post
- Usage:
[e2pdf-wp key="post_content"]
- output - Try to force Post Content output to frontend/backend
- Value: frontend, backend
- Usage:
[e2pdf-wp key="post_content" output="backend"]
- Usage:
- [e2pdf-wp key="post_title"] - Post title
- Usage:
[e2pdf-wp key="post_title"]
- Usage:
- [e2pdf-wp key="post_excerpt"] - Post excerpt
- Usage:
[e2pdf-wp key="post_excerpt"]
- Usage:
- [e2pdf-wp key="post_status"] - Post status
- Usage:
[e2pdf-wp key="post_status"]
- Usage:
- [e2pdf-wp key="comment_status"] - Comment status
- Usage:
[e2pdf-wp key="comment_status"]
- Usage:
- [e2pdf-wp key="ping_status"] - Ping status
- Usage:
[e2pdf-wp key="ping_status"]
- Usage:
- [e2pdf-wp key="post_password"] - Post password
- Usage:
[e2pdf-wp key="post_password"]
- Usage:
- [e2pdf-wp key="post_name"] - Post name
- Usage:
[e2pdf-wp key="post_name"]
- Usage:
- [e2pdf-wp key="to_ping"] - To ping
- Usage:
[e2pdf-wp key="to_ping"]
- Usage:
- [e2pdf-wp key="pinged"] - Pinged
- Usage:
[e2pdf-wp key="pinged"]
- Usage:
- [e2pdf-wp key="post_modified"] - Post modified time
- Usage:
[e2pdf-wp key="post_modified"]
- Usage:
- [e2pdf-wp key="post_modified_gmt"] - Post modified time in GMT
- Usage:
[e2pdf-wp key="post_modified_gmt"]
- Usage:
- [e2pdf-wp key="post_content_filtered"] - Post content filtered
- Usage:
[e2pdf-wp key="post_content_filtered"]
- Usage:
- [e2pdf-wp key="post_parent"] - Parent post ID
- Usage:
[e2pdf-wp key="post_parent"]
- Usage:
- [e2pdf-wp key="guid"] - GUID
- Usage:
[e2pdf-wp key="guid"]
- Usage:
- [e2pdf-wp key="menu_order"] - Menu order
- Usage:
[e2pdf-wp key="menu_order"]
- Usage:
- [e2pdf-wp key="post_type"] - Type of post
- Usage:
[e2pdf-wp key="post_type"]
- Usage:
- [e2pdf-wp key="post_mime_type"] - Mime type of post
- Usage:
[e2pdf-wp key="post_mime_type"]
- Usage:
- [e2pdf-wp key="comment_count"] - Count of comments
- Usage:
[e2pdf-wp key="comment_count"]
- Usage:
- [e2pdf-wp key="filter"] - Filter
- Usage:
[e2pdf-wp key="filter"]
- Usage:
- [e2pdf-wp key="post_thumbnail"] - Post Thumbnail
- Usage:
[e2pdf-wp key="post_thumbnail"]
-
Optional parameters
- size - Registered Image size
- Usage:
[e2pdf-wp key="post_thumbnail size="full"]
- Default Image sizes: thumbnail, medium, medium_large, large, full
- Usage:
- [e2pdf-content key="x"] - Output WordPress content which was wrapped with this shortcode
- Usage (E2Pdf Template):
[e2pdf-content key="page1"]
Usage (WP Page/Post):
[e2pdf-content key="page1"]This content must appear inside pdf[/e2pdf-content]
- Usage (E2Pdf Template):
- key - Post meta field key
- Usage:
[e2pdf-wp key="mymeta" meta="true"]
- Usage:
-
Optional parameters
- attachment_url - Converts meta field value (attachment ID) to attachment URL.
- Value: (boolen) true or false
- Usage:
[e2pdf-wp key="mymeta" attachment_url="true" meta="true"]
- attachment_image_url - Converts meta field value (attachment ID) to Image attachment URL.
- Value: (boolen) true or false
- Usage:
[e2pdf-wp key="mymeta" attachment_image_url="true" meta="true"]
-
Optional parameters
- size - Registered Image size
- Usage:
[e2pdf-wp key="mymeta" attachment_image_url="true" size="full" meta="true"]
- Default Image sizes: thumbnail, medium, medium_large, large, full
- implode - Glue to implode meta field value array (serialized) as string.
- Value: (string)
- Usage:
[e2pdf-wp key="mymeta" implode=", " meta="true"]
- path - Used to naviagate and output value from meta field value array.
- Value: (string)
- Usage:
[e2pdf-wp key="mymeta" path="0.name" meta="true"]
* Will output value from array(0 => name => value)
- key - Taxonomy key
- Usage:
[e2pdf-wp key="taxonomy" terms="true"]
- Usage:
-
Optional parameters
- names - Output list of all terms
- Value: (boolen) true or false
- Usage:
[e2pdf-wp key="taxonomy" names="true" terms="true"]
- implode - Glue to output list of all terms
- Value: (string)
- Usage:
[e2pdf-wp key="taxonomy" names="true" implode=", " terms="true"]
- attachment_url - Converts terms value (attachment ID) to attachment URL.
- Value: (boolen) true or false
- Usage:
[e2pdf-wp key="taxonomy" attachment_url="true" terms="true"]
- attachment_image_url - Converts meta field value (attachment ID) to Image attachment URL.
- Value: (boolen) true or false
- Usage:
[e2pdf-wp key="mymeta" attachment_image_url="true" terms="true"]
-
Optional parameters
- size - Registered Image size
- Usage:
[e2pdf-wp key="mymeta" attachment_image_url="true" size="full" terms="true"]
- Default Image sizes: thumbnail, medium, medium_large, large, full
- path - Used to naviagate and output value from terms value array.
- Value: (string)
- Usage:
[e2pdf-wp key="taxonomy" path="0.name" terms="true"]
* Will output value from array(0 => name => value)
- Usage:
[e2pdf-wp key="post_author"]
- subkey - Get User Value by Key
- Usage:
[e2pdf-wp key="post_author" subkey="ID"]
- Value: ID, user_login, user_nicename, user_email, user_url, user_registered, user_avatar, display_name
- Usage:
- meta - Get User Meta Value by Key
- Usage:
[e2pdf-wp key="post_author" subkey="custom_meta" meta="true"]
- Value: (boolean) true or false
- Usage:
-
attachment_url - Converts meta field value (attachment ID) to attachment URL.
- Value: (boolen) true or false
- Usage:
[e2pdf-wp key="post_author" subkey="mymeta" attachment_url="true"]
-
attachment_image_url - Converts meta field value (attachment ID) to Image attachment URL.
- Value: (boolen) true or false
- Usage:
[e2pdf-wp key="post_author" subkey="mymeta" attachment_image_url="true"]
-
Optional parameters
- size - Registered Image size
- Usage:
[e2pdf-wp key="post_author" subkey="mymeta" attachment_image_url="true" size="full"]
- Default Image sizes: thumbnail, medium, medium_large, large, full
-
path - Used to naviagate and output value from meta field value array.
- Value: (string)
- Usage:
[e2pdf-wp key="post_author" subkey="mymeta" path="0.name"]
* Will output value from array(0 => name => value)
Optional parameters
- id - User ID
- Usage:
[e2pdf-user id="1"]
- Value: (int) user_id
- Usage:
- key - Get User Value by Key
- Usage:
[e2pdf-user key="ID"]
- Value: ID, user_login, user_nicename, user_email, user_url, user_registered, user_avatar, display_name
- Usage:
- meta - Get User Meta Value by Key
- Usage:
[e2pdf-user key="custom_meta" meta="true"]
- Value: (boolean) true or false
- Usage:
-
attachment_url - Converts meta field value (attachment ID) to attachment URL.
- Value: (boolen) true or false
- Usage:
[e2pdf-user key="mymeta" attachment_url="true"]
-
attachment_image_url - Converts meta field value (attachment ID) to Image attachment URL.
- Value: (boolen) true or false
- Usage:
[e2pdf-user key="mymeta" attachment_image_url="true"]
-
Optional parameters
- size - Registered Image size
- Usage:
[e2pdf-user key="mymeta" attachment_image_url="true" size="full"]
- Default Image sizes: thumbnail, medium, medium_large, large, full
-
path - Used to naviagate and output value from meta field value array.
- Value: (string)
- Usage:
[e2pdf-user key="mymeta" path="0.name"]
* Will output value from array(0 => name => value)