For anyone having the same problems with PDFs being corrupted:
In wp-content\plugins\email-download-link\job\ed-downloads.php, change
header('Content-Type: application/force-download'); (line 58 for me)
to:
header('Content-Type: application/pdf');
For anyone having the same problems with PDFs being corrupted:
In wp-content\plugins\email-download-link\job\ed-downloads.php, change
header('Content-Type: application/force-download'); (line 58 for me)
to:
header('Content-Type: application/pdf');
Thanks!
For reference:
I used /view/list/single-event.php and php echoed’ the button directly just before the “tribe-events-event-meta” div ends. Save this at your (child)themes folder as specified at the top of the file, should be update proof.
Cheers
-
This reply was modified 8 years, 7 months ago by warhost.
Thank you so much, it works!