Hi! Can anyone tell me why shortcodes to download files in the secure area aren't working for me? I'm trying to access them from a Specific Post/Page page.
I have uploaded files to subfolders in the s2member-files folder and then on a Specific Page I've entered
<a href="[s2File download="class01/resources.pdf" download_key="true" /] ">Class Resources.pdf</a>
and I tried:
<a href=[s2File download="class01/resources.pdf" download_key="true" /] >Class Resources.pdf</a>
But when I view the page either directly from WordPress (view page) or from a generated access link to the Specific Page nothing is shown.
But, if I install the PHPExecution plugin and use this link, it works:
<a href="http://example.com/?s2member_file_download=class01/resources.pdf&s2member_file_download_key=<?php echo s2member_file_download_key("class01/resources.pdf"); ?> ">Class Resources.pdf</a>
Any ideas would be greatly appreciated as I'd rather use the shortcode if possible!
Thanks