• Resolved philipt18

    (@philipt18)


    I have a strange ghost link that is showing up on my pages.

    I’m using the following code in a loop:

    <td><a href="[field url custom=true]" target="_blank">[field name]<a/>[if field=local_url]&nbsp;(<a href="[field local_url]" target="_blank">local</a>)[/if]</td>

    The idea is that I’m linking to a page offsite, and sometimes I have a local copy of that linked page ion my site. In the case that there is a local copy, I simply display the text (local) after the actual link, with the word local linking to the local copy.

    What’s weird is that the opening parenthesis is showing up as a link. It’s a separate link for the word local, and it’s a blank link (it doesn’t go anywhere).

    Anyone see a problem in my code that is causing this ghost link to show up?

    Thanks.

    https://ww.wp.xz.cn/plugins/custom-content-shortcode/

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

    (@miyarakira)

    Hi Philip,

    So sorry for the slow response during the past month. I’m gradually catching up to the support questions.

    This one may be simple: the closing tag <a/> should be </a>.

    Thread Starter philipt18

    (@philipt18)

    Thanks.

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

The topic ‘Strange ghost link’ is closed to new replies.