WordPress.org

Ready to get started?Download WordPress

Forums

Text Replace
Won't work in anchor tags (2 posts)

  1. gindawn
    Member
    Posted 1 year ago #

    I put this in a page: <a href="http://www.wikipedia.com/blah" [wiki]>Blah</a>

    I put this in the Text Replace settings:
    style="background: transparent url(http://example.com/icons/wikipedia.png) center right no-repeat;padding-right: 16px;" alt="this links to a Wikipedia article" title="this links to a Wikipedia article"

    I had expected the portion [wiki] to be replaced by the appropriate code.

    Instead, the source code reads:
    <a href="http://blah.com" [wiki]>Blah</a>

    The link is intact and clickable but no icon appears to the right of the link, nor is there alt or title text, as I was attempting to accomplish.

    Is this a limitation of the plugin, or is this new? I've not encountered this error before.

    http://wordpress.org/extend/plugins/text-replace/

  2. Alex
    Member
    Posted 9 months ago #

    Hi Gindawn, i have used this plugin heavily with my website ( Bank of Communications China SWIFT Code ) but for me all most all the codes were worked

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic