• Resolved one3rdnerd

    (@one3rdnerd)


    Hello,

    I have a custom upload field that allows multiple uploads. I am using Beaver Builder and want to output the uploaded file URLs as separate hyperlinks and bullets.

    I am trying to use Magic tags and testing a few things out

    <ul>
    [each upload_gpx_file]
     	<li><a href="{@upload_gpx_file._src}">{@upload_gpx_file._src}</a></li>
    [/each]
    </ul>

    The above doesn’t seem to work, I found some of this on an old git.

    [pods]<a href="{@upload_gpx_file._src}">{@upload_gpx_file._src}</a>[/pods]

    The above works but it outputs one long result of two URLs and I can’t find a way to separate them as clickable and <li> bullets.

    Any ideas?

    Thank you.

    • This topic was modified 2 years, 6 months ago by one3rdnerd.
Viewing 1 replies (of 1 total)
  • Thread Starter one3rdnerd

    (@one3rdnerd)

    I found my issue.

    Correct code for this for anyone else

    [pods]
    <ul>
    [each upload_gpx_file]
     	<li><a href="{@upload_gpx_file._src}">{@upload_gpx_file.name}</a></li>
    [/each]
    </ul>
    [/pods]
Viewing 1 replies (of 1 total)
  • The topic ‘Outputting multiple URLs with Magic Tags’ is closed to new replies.