Ok great. I haven’t had anyone request this before, so it takes a bit of work. I’ll step you how to create the URL to send folks to for generating the PDF or eBook.
Let’s assume the post you want the page to have a PDF button’s post ID is 123
. This is the URL you want to send people to:
https://www.aktive-buergerschaft.de/?post-type=post&include-private-posts=1&show_site_title=1&show_site_tagline=1&show_site_url=1&show_date_printed=1&show_title=1&show_date=1&show_categories=1&show_featured_image=1&show_content=1&post-page-break=on&columns=1&font-size=normal&image-size=medium&links=include&rendering-wait=10&print-my-blog=1&format=pdf&pmb-post=123
Notice the very end there it says &pmb-post=123
. Replace “123” with the actual ID of the post you want. One easy way to find the post’s ID is to edit the post, and then look at the URL. It will look something like https://www.aktive-buergerschaft.de/wp-admin/post.php?post=123&action=edit
. The number after post=
is the post’s ID.
The URL for an eBook is almost the same. It would look like
https://www.aktive-buergerschaft.de/?post-type=post&include-private-posts=1&show_site_title=1&show_site_tagline=1&show_site_url=1&show_date_printed=1&show_title=1&show_date=1&show_categories=1&show_featured_image=1&show_content=1&post-page-break=on&columns=1&font-size=normal&image-size=medium&links=include&rendering-wait=10&print-my-blog=1&format=ebook&pmb-post=123
(Notice the value after format=
changed from pdf
to ebook
, but it’s otherwise the same URL.)
Are you using WordPress block editor (Gutenberg, added in 5.0)? If so, you could create a button block and use one of the above URLs for its URL.
Does that all make sense?