How can i put all the posts available in a pdf. instead calling just one post by ID.

13 January, 2022 21:59:26
Topics: 2
Messages: 5
I want a pdf file export option with all the posts available in a custom post type. currently, I can export a single post by calling its ID.

I have a website with unit listings, if someone books a unit that unit will be removed from listings. so I want an option to download a pdf file with all available units. how can I set up that?

Thanks in advance.
13 January, 2022 23:36:53
Topics: 7
Messages: 2450

There are experimental shortcodes which seems must accomplish the task: [e2pdf-foreach] and [e2pdf-wp-posts]

The usage will look like this:

[e2pdf-foreach shortcode="e2pdf-wp-posts" post_type="page" order="ASC" numberposts="999"]
[e2pdf-wp key="post_title" id="[e2pdf-foreach-value path='ID']"]

[e2pdf-foreach shortcode="e2pdf-wp-posts" post_type="page" order="ASC" numberposts="999"] - can accept arguments to filter posts based on WordPress "get_posts" function:

Attributes: category, include, exclude, post_mime_type - can accept comma separated values.

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at!