• Resolved Malta777

    (@malta777)


    Hi, we are having issues with the WP External Links plugin to display Excluded Links in GeoDirectory URL/Website type fields, we set a URL to be DoFollow but that option no works on GeoDirectory URL/Website fields so, we tried to edit the GD > Single Template and add an HTML block that calls the GeoDirectory field with the short code [gd_post_meta key=’official_website’ show=’value-strip’] in an anchor tag like this:

    <a href="[gd_post_meta key='official_website' show='value-strip']">Official Website</a>

    But, in the href property, it assigns the link without the https: and appends a </div> at the ends, here are a couple of captures:

    https://snipboard.io/lu5xOJ.jpg

    https://snipboard.io/ORdJyr.jpg

    What could we do to solve this?

    • This topic was modified 9 months, 1 week ago by Malta777. Reason: Accidental submission (was not completed)

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paolo

    (@paoltaia)

    Hi,

    try this shortcode:

    <a href="[gd_post_meta key='official_website' show='value-raw' no_wrap='1' font_size='0']">Official Website</a>

    Let us know if that works for you.

    Thanks,

    Thread Starter Malta777

    (@malta777)

    Hi Paolo,

    I replaced the code with the one you provided me and it works fine. Thank you very much!

    Regards,
    Malta

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Post Meta short code has issues on URL/Website fields’ is closed to new replies.