• Resolved hormiganegra

    (@hormiganegra)


    instead of using hcard I want to manually place the individual location fields.
    I can’t see a difference between {sitelink} and {sitelink_html}. For me they’re both outputting:
    <div class="url link"><a href="https://www.minnesotaorchestra.org" class="location-link external">Visit web site<span class="screen-reader-text">: Demo: Minnesota Orchestra</span></a></div>
    Is that just me?
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter hormiganegra

    (@hormiganegra)

    In addition to the fact that if there’s no value entered for the location, the link still displays with “Visit web site” and the screen reader span instead of not displaying anything. I thought the expected behavior would be to display nothing if there was no value entered in the field. Thanks again

    Plugin Author Joe Dolson

    (@joedolson)

    I’m looking at {sitelink}, and it definitely only outputs the URL, with no HTML. Can you give me more context?

    Thread Starter hormiganegra

    (@hormiganegra)

    It’s not happening anymore. What I saw happen doesn’t happen anymore, so I was probably doing something wrong, also I updated to the latest version.

    What does remain is the link when the location link has no value:

    This is sitelink: {sitelink}
    <br />
    Next is sitelink_html: {sitelink_html}

    yields

    This is sitelink:
    <br>
    Next is sitelink_html: <div class="url link"><a href="" class="location-link external">Visit web site<span class="screen-reader-text">: Online via Zoom</span></a></div>

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘{sitelink} and {sitelink_html}’ is closed to new replies.