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.

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"]
  • [e2pdf-wp key="post_date"] - Post date
    • Usage: [e2pdf-wp key="post_date"]
  • [e2pdf-wp key="post_date_gmt"] - Post date in GMT
    • Usage: [e2pdf-wp key="post_date_gmt"]
  • [e2pdf-wp key="post_content"] - Content of post
    • Usage: [e2pdf-wp key="post_content"]
    Optional parameters
    • output - Try to force Post Content output to frontend/backend
      • Value: frontend, backend
      • Usage: [e2pdf-wp key="post_content" output="backend"]
  • [e2pdf-wp key="post_title"] - Post title
    • Usage: [e2pdf-wp key="post_title"]
  • [e2pdf-wp key="post_excerpt"] - Post excerpt
    • Usage: [e2pdf-wp key="post_excerpt"]
  • [e2pdf-wp key="post_status"] - Post status
    • Usage: [e2pdf-wp key="post_status"]
  • [e2pdf-wp key="comment_status"] - Comment status
    • Usage: [e2pdf-wp key="comment_status"]
  • [e2pdf-wp key="ping_status"] - Ping status
    • Usage: [e2pdf-wp key="ping_status"]
  • [e2pdf-wp key="post_password"] - Post password
    • Usage: [e2pdf-wp key="post_password"]
  • [e2pdf-wp key="post_name"] - Post name
    • Usage: [e2pdf-wp key="post_name"]
  • [e2pdf-wp key="to_ping"] - To ping
    • Usage: [e2pdf-wp key="to_ping"]
  • [e2pdf-wp key="pinged"] - Pinged
    • Usage: [e2pdf-wp key="pinged"]
  • [e2pdf-wp key="post_modified"] - Post modified time
    • Usage: [e2pdf-wp key="post_modified"]
  • [e2pdf-wp key="post_modified_gmt"] - Post modified time in GMT
    • Usage: [e2pdf-wp key="post_modified_gmt"]
  • [e2pdf-wp key="post_content_filtered"] - Post content filtered
    • Usage: [e2pdf-wp key="post_content_filtered"]
  • [e2pdf-wp key="post_parent"] - Parent post ID
    • Usage: [e2pdf-wp key="post_parent"]
  • [e2pdf-wp key="guid"] - GUID
    • Usage: [e2pdf-wp key="guid"]
  • [e2pdf-wp key="menu_order"] - Menu order
    • Usage: [e2pdf-wp key="menu_order"]
  • [e2pdf-wp key="post_type"] - Type of post
    • Usage: [e2pdf-wp key="post_type"]
  • [e2pdf-wp key="post_mime_type"] - Mime type of post
    • Usage: [e2pdf-wp key="post_mime_type"]
  • [e2pdf-wp key="comment_count"] - Count of comments
    • Usage: [e2pdf-wp key="comment_count"]
  • [e2pdf-wp key="filter"] - Filter
    • Usage: [e2pdf-wp key="filter"]
  • [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
  • [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]
  • [e2pdf-wp key="x" meta="true"] - Custom meta field value output.
    • key - Post meta field key
      • Usage: [e2pdf-wp key="mymeta" meta="true"]

    • 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)
  • [e2pdf-wp key="x" terms="true"] - Get the terms in a given taxonomy.
    • key - Taxonomy key
      • Usage: [e2pdf-wp key="taxonomy" terms="true"]

    • 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)
  • [e2pdf-wp key="post_author"] - Post Author name
    • Usage: [e2pdf-wp key="post_author"]
    Optional parameters
    • 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

    • meta - Get User Meta Value by Key
      • Usage: [e2pdf-wp key="post_author" subkey="custom_meta" meta="true"]
      • Value: (boolean) true or false

    • 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)
  • [e2pdf-user] - Get User ID for current user

    Optional parameters
    • id - User ID
      • Usage: [e2pdf-user id="1"]
      • Value: (int) user_id

    • 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

    • meta - Get User Meta Value by Key
      • Usage: [e2pdf-user key="custom_meta" meta="true"]
      • Value: (boolean) true or false

    • 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)