Reply To: How to get a pdf file on amazon s3 to be viewed and downloaded?
› Forums › General › How to get a pdf file on amazon s3 to be viewed and downloaded? › Reply To: How to get a pdf file on amazon s3 to be viewed and downloaded?
Deprecated: wp_make_content_images_responsive is deprecated since version 5.5.0! Use wp_filter_content_tags() instead. in /nfs/c09/h02/mnt/138233/domains/s2member.net/html/wp-includes/functions.php on line 4773
Sorry for the wait, I’ve been travelling and with little internet the past days.
I think I understand better what you want: make it possible to download or view in the browser, not just one, right?
You could have a couple of links, one to view and the other to download. You could set the default to download, and then have the view link set to inline.
Try removing the pdf and mp3 extensions from here: WP Admin -> s2Member -> Download -> Inline
Then use a s2File shortcode for the file to give the download link.
Below it duplicate the shortcode, but add the download attribute set to yes. WP Admin -> s2Member -> Download -> Shortcode Attributes -> download
Let me know how it goes. I hope that helps. 🙂