I have 1 template for 1 post. with the download button this gives me 1 pdf. which works great! But i was wondering if I can bulk download all the posts into one pdf based on each post as a seperate database?
Cheers!
18 March, 2020 14:29:44
E2Pdf
Support
Topics: 7
Messages: 3331
Hi,
Unfortunately this feature is not yet available but we have it already in our roadmap. If you have coding skills, you can try to prepare some php code to iterate over posts and use [e2pdf-save] shortcode for example:
Thank you for the reply!
I'm using elementor and I'm creating my own plugin. When i use the shortcode in Elementor it work. Elementor has a widget to place shortcodes in and this one works:
[e2pdf-download id="1"]
But, now I want to make a bulk download with a query-loop so i need to use the do_shortcode() as you suggested. But I can't get it to work! could you help me out please. Do you know why the do_shortcode is not working?
I use this shortcode in elementor: [labels]
function bulk_labels_shortcode(){
echo 'test';
do_shortcode('[e2pdf-download id="1"]'); //this doesnt work
echo do_shortcode('[e2pdf-download id="1"]'); // this doesnt work either
}
add_shortcode( 'labels', 'labels_shortcode' );
We use tools, such as cookies, to enable essential services and functionality on our site and to collect data on how visitors interact with our site, products and services. By accepting cookies you are agreeing to our Cookie Policy.