Title: PDF Generator for Posts &amp; Pages – Export Any Post Type to PDF
Author: theme funda
Published: <strong>5, Mayu de 2021</strong>
Last modified: 15, Marzu de 2026

---

Guetar plugins

![](https://ps.w.org/post-to-pdf/assets/banner-772x250.png?rev=3483098)

![](https://ps.w.org/post-to-pdf/assets/icon-256x256.png?rev=3483093)

# PDF Generator for Posts & Pages – Export Any Post Type to PDF

 By [theme funda](https://profiles.wordpress.org/gravitymaster97/)

[Download](https://downloads.wordpress.org/plugin/post-to-pdf.zip)

 * [Details](https://ast.wordpress.org/plugins/post-to-pdf/#description)
 * [Reviews](https://ast.wordpress.org/plugins/post-to-pdf/#reviews)
 *  [Installation](https://ast.wordpress.org/plugins/post-to-pdf/#installation)
 * [Development](https://ast.wordpress.org/plugins/post-to-pdf/#developers)

 [Support](https://wordpress.org/support/plugin/post-to-pdf/)

## Description

**PDF Generator for Posts & Pages** is the easiest way to let your visitors download
a beautifully formatted PDF of any WordPress post, page, or custom post type — with
zero coding required.

Whether you run a blog, a WooCommerce store, a job board, or a directory site, this
plugin adds a **Download PDF** button directly on your content pages. Visitors get
a clean, print-ready PDF in one click.

[Demo](https://codesmade.com/demo/product/album/) | [Support](https://www.codesmade.com/contact-us/)
| [Pro Version](https://www.codesmade.com/store/post-to-pdf-pro/) | [Documentation](https://www.codesmade.com/convert-post-to-pdf-in-wordpress/)

### Why Use PDF Generator for Posts & Pages?

Most PDF plugins force you to edit PHP templates or paste complex shortcodes. This
plugin gives you a **visual drag-and-drop layout builder** inside your WordPress
dashboard — simply choose a layout, toggle which content blocks to include, and 
save. Your PDF updates instantly.

### Core Features

**Visual PDF Layout Builder**
 Choose from four ready-made page layouts — Single
Column, Image Left, Image Right, and Image Top. Drag and reorder content blocks (
title, image, description, custom fields, read more link). Set per-block alignment.
See a live preview update as you make changes.

**Supports All Post Types**
 Works with Posts, Pages, and any registered Custom 
Post Type — including WooCommerce Products, job listings, property listings, portfolios,
and more. Enable or disable PDF export per post type from the admin settings.

**ACF Custom Field Support**
 Automatically detects Advanced Custom Fields (ACF).
When ACF is active, the Post Meta Keys tab shows a searchable dropdown of all your
ACF field groups. Select the fields you want to include in the PDF — labels and 
values are pulled automatically. Works with text, number, email, URL, select, checkbox,
and relationship fields.

**Custom Post Meta Keys**
 No ACF? No problem. Manually add any WordPress post meta
key. The plugin fetches the value from the database and includes it in the PDF. 
Search your existing meta keys server-side as you type — no page reload needed.

**Full Color and Typography Control**
 Customize the PDF background color, body 
text color, header and footer background and text colors, download button colors,
title font size, content font size, and image size — all from the Styling tab.

**Header and Footer Text**
 Add custom header and footer text to every generated
PDF page. Great for branding, copyright notices, or contact details.

**Flexible Button Placement**
 Place the PDF download button before the content,
after the content, or use the shortcode for a completely custom location.

**Shortcode Support**
 Use `[gmptp_single_post]` to place the PDF button anywhere
in your templates, or `[gmptp_single_post id="123"]` to generate a PDF button for
a specific post from any page.

**Translation Ready**
 All front-end strings — button label, loading messages, read
more text — are fully translatable from the Translation tab in the admin. Compatible
with WPML and Polylang.

**Lightweight PDF Generation**
 PDFs are generated directly in the visitor’s browser
using React PDF renderer — no server-side processing, no temporary files stored 
on your server, no load on your hosting.

### Perfect For

 * **Bloggers** — Let readers save and share articles as PDFs
 * **WooCommerce stores** — Offer downloadable product spec sheets
 * **Job boards** — Export job listings as formatted PDFs
 * **Real estate sites** — Generate property information PDFs
 * **News and magazines** — Archive articles in PDF format
 * **Documentation sites** — Export guides and tutorials to PDF
 * **Schools and universities** — Download course or event pages as PDFs

[Get Post to PDF Pro ](https://www.codesmade.com/store/post-to-pdf-pro/)

### Our Other Free Plugins

 * [Post to PDF (Free)](https://wordpress.org/plugins/post-to-pdf/) – The free version
   of this plugin
 * [PDF Catalog for WooCommerce](https://wordpress.org/plugins/pdf-catalog-woocommerce/)–
   Generate multi-page product catalogs
 * [Product Enquiry for WooCommerce](https://wordpress.org/plugins/gm-woocommerce-quote-popup/)–
   Add enquiry forms to product pages
 * [Add to Quote for WooCommerce](https://wordpress.org/plugins/product-quote-cart-for-wc/)–
   Quote cart functionality
 * [Show Variations on Shop Page](https://wordpress.org/plugins/woo-show-single-variations-shop-category/)–
   Display product variations in shop listings

## Screenshots

 * [[
 * **Admin Dashboard** – Clean settings panel with tabbed navigation and branding
   header
 * [[
 * **PDF Layout Builder** – Visual layout selector with live preview that updates
   in real time
 * [[
 * **Content Block Controls** – Drag to reorder blocks, toggle visibility, set per-
   block alignment
 * [[
 * **Styling Tab** – Color pickers for background, text, header, footer, and button
   colors

## Installation

 1. Upload the `post-to-pdf-pro` folder to the `/wp-content/plugins/` directory, or
    install it via the WordPress admin panel under **Plugins  Add New**.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Navigate to **Post to PDF** in the left admin menu.
 4. On the **Single Post** tab, enable the post types you want to show the PDF button
    on.
 5. Use the **PDF Layout** tab to choose your layout and configure content blocks.
 6. Use the **Styling** tab to match the PDF colors to your brand.
 7. Optionally, add post meta keys on the **Post Meta Keys** tab.
 8. Visit any enabled post type page on your site — the PDF download button will appear
    automatically.

## FAQ

### Does this plugin work with WooCommerce?

Yes. Enable the **Products** post type from the Single Post tab. The PDF will include
the product title, featured image, short description, long description, and any 
custom meta fields you configure — including WooCommerce product attributes added
as post meta.

### Does this plugin support Advanced Custom Fields (ACF)?

Yes. When ACF is active, the Post Meta Keys tab shows a searchable dropdown of all
your ACF field groups and fields. Select any field to include its label and value
in the PDF. Both standard ACF field types and custom meta keys are supported.

### Where does the PDF download button appear?

By default the button appears before the post content. You can change this to after
the content, or choose **Custom Location** and place the `[gmptp_single_post]` shortcode
exactly where you want it in your template.

### Can I change the text on the download button?

Yes. Go to the **Translation** tab in the plugin settings and update the button 
label, loading message, and other front-end strings.

### Is the PDF generated on the server or in the browser?

PDFs are generated entirely in the visitor’s browser using a JavaScript PDF renderer.
This means zero server load, no temporary files, and instant downloads — even on
shared hosting.

### Can I include custom post meta fields in the PDF?

Yes. Go to the **Post Meta Keys** tab, click **Add Field**, and either search your
ACF fields from the dropdown or type any WordPress meta key manually. All added 
fields will be included in the PDF when the **Custom Fields** block is enabled in
the Layout Builder.

### What layouts are available for the PDF?

Four layouts are included: **Single Column** (all content stacked vertically), **
Image Left** (image on left, content on right), **Image Right** (content on left,
image on right), and **Image Top** (full-width image above all content).

### Can I put the PDF button in a custom location using a shortcode?

Yes. Set Display Location to **Custom Location (shortcode)** in the Single Post 
settings, then place `[gmptp_single_post]` anywhere in your theme or page builder.
To generate a PDF button for a specific post from another page, use `[gmptp_single_post
id="post_id"]`.

### Does it work with Gutenberg and page builders?

Yes. The shortcode works in Gutenberg’s shortcode block, as well as Elementor, Divi,
Beaver Builder, WPBakery, and any builder that supports WordPress shortcodes.

### Is the plugin translation ready?

Yes. All user-facing strings are translatable. The plugin is compatible with WPML,
Polylang, and standard `.pot` file-based translations. You can also translate all
strings directly from the Translation tab in the admin settings without needing 
any translation plugin.

### What PHP version is required?

PHP 7.4 or higher is required. PHP 8.0+ is fully supported.

## Reviews

![](https://secure.gravatar.com/avatar/776369834ff6956519fe63736a58e59965b41ce3be7749bca9b59d8742bac4ec?
s=60&d=retro&r=g)

### 󠀁[No Funciona aún](https://wordpress.org/support/topic/no-funciona-aun/)󠁿

 [globalthermic](https://profiles.wordpress.org/globalthermic/) 9, Payares de 2022

No guarda el post a pdf, falta terminar la programación

 [ Read all 1 review ](https://wordpress.org/support/plugin/post-to-pdf/reviews/)

## Contributors & Developers

“PDF Generator for Posts & Pages – Export Any Post Type to PDF” is open source software.
The following people have contributed to this plugin.

Contributors

 *   [ theme funda ](https://profiles.wordpress.org/gravitymaster97/)

[Translate “PDF Generator for Posts & Pages – Export Any Post Type to PDF” into your language.](https://translate.wordpress.org/projects/wp-plugins/post-to-pdf)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/post-to-pdf/), check
out the [SVN repository](https://plugins.svn.wordpress.org/post-to-pdf/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/post-to-pdf/) by
[RSS](https://plugins.trac.wordpress.org/log/post-to-pdf/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

 * Added: Visual PDF layout builder with four layout templates (Single Column, Image
   Left, Image Right, Image Top)
 * Added: Drag-and-drop content block ordering with per-block alignment control
 * Added: Live PDF layout preview that reflects saved colors and settings
 * Added: ACF (Advanced Custom Fields) integration — searchable field dropdown in
   Post Meta Keys tab
 * Added: Server-side search for post meta keys — no page load, debounced REST API
   queries
 * Added: Radio-button source selector (ACF Field / Custom Meta) in Add Field modal
 * Added: Rating, Support, and Upgrade to Pro buttons in the admin header
 * Added: Toast notification system replacing modal popups
 * Improved: Removed all @wordpress/components dependencies — fully custom UI components
 * Improved: Color pickers now use native `<input type="color">` wrapped in a styled
   label
 * Improved: Custom Fields now render in PDF without requiring legacy show/hide 
   option
 * Improved: PHP API uses `get_field()` for ACF values with `get_post_meta()` fallback
 * Improved: Array and object ACF field values normalised to readable strings in
   PDF
 * Fixed: PDF viewer removed from frontend — download button only, no inline preview

#### 1.0

 * Initial release
 * Single post PDF download button
 * Custom post type support
 * Custom meta field support
 * Color and typography customization
 * Header and footer text
 * Translation support
 * Shortcode placement

## Meta

 *  Version **1.1**
 *  Last updated **4 selmanes ago**
 *  Active installations **80+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/post-to-pdf/)
 * Tags
 * [pdf download](https://ast.wordpress.org/plugins/tags/pdf-download/)[pdf generator](https://ast.wordpress.org/plugins/tags/pdf-generator/)
   [post to pdf](https://ast.wordpress.org/plugins/tags/post-to-pdf/)[wordpress pdf](https://ast.wordpress.org/plugins/tags/wordpress-pdf/)
 *  [Advanced View](https://ast.wordpress.org/plugins/post-to-pdf/advanced/)

## Ratings

 1 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/post-to-pdf/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/post-to-pdf/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/post-to-pdf/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/post-to-pdf/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/post-to-pdf/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/post-to-pdf/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/post-to-pdf/reviews/)

## Contributors

 *   [ theme funda ](https://profiles.wordpress.org/gravitymaster97/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/post-to-pdf/)