Hello,
Can you please create a test page and add 1 general download shortcode that generates the link and the other one similar to the above and share link to this page?
I am using page builder called beaver builder, and Custom Content Shortcode.
This works on a page without using the builder. see the link on the lower body area. https://dev-sagenetoz.pantheonsite.io/case-studies/case-study-sample-two/
[related casestudy_pdf]
[pass field=id]
<li>[download_data id='{FIELD}' data='download_link']
<a href="[download_data id='{FIELD}' data='download_link']">
<i class="fas fa-download" data-icon="fas fa-download"></i></a></li>
[/pass]
[/related]
The one on the top of the page is inserted with a HTML widget. .IF shortcode is not within href it works if is not.
Seems like nested shortcode issue perhaps
Hello,
We do not have any experience with this 3rd party plugin. If you just use the following shortcode, does it not work?
[download_data id=’2527′ data=’download_link’]
Make sure the ID is correct.
code itself works yes. it doesn’t when it is used within a widget thats all. I ll ask on their forum about this.
Hello,
Sometimes a widget does not allow shortcodes to work correctly.
Yea, I had to create a shortcode that does allow that. Thanks Harish.