Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

CG Print to PDF

=== CG Print To PDF ===
Contributors: cg-web
Tags: print, pdf, html2pdf, shortcode
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Plugin to save any page of your WordPress site to PDF via a button added with a shortcode.

== Description ==
Plugin to save any page of the WordPress site in PDF through a button added with a shortcode.
The shortcode can be inserted in any page or post and will generate a PDF document that can then be printed or saved.
The shortcode to use is [cg_print_to_pdf].

== Installation ==
1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin via the "Plugins" screen in WordPress.
3. Use the shortcode `[cg_events]` in your posts or pages to display events.

== Changelog ==
= 1.0.0 =
* Initial release.

== Upgrade Notice ==
= 1.0.0 =
Initial version of the plugin.