• Resolved creativemanner

    (@creativemanner)


    I am using the shortcode on a link like so:
    <a href="[download_data id='2527' data='download_link']" title="Download">

    if I use it as is, I can get the URL correctly, but if it is in href I cant. and get <a href="[Download not found]" title="Download">

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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?

    Thread Starter creativemanner

    (@creativemanner)

    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.

    Thread Starter creativemanner

    (@creativemanner)

    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.

    Thread Starter creativemanner

    (@creativemanner)

    Yea, I had to create a shortcode that does allow that. Thanks Harish.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Download not found] issue’ is closed to new replies.