• Yumfood helps you find out whats happening in your city. How it works?

    I have placed this line in a page and wanted to link the phrase “How it works” to an external link. But it’s also printing anchor(href) value with all other text. I have tried to do this using both Visual and Text editor. I’m new on WordPress and couldn’t find any reference regarding this issue. Am i missing something very silly? This line displayed in a h2 tag.

    YUMFOOD HELPS YOU FIND OUT WHATS HAPPENING IN YOUR CITY. <a HREF="http://WWW.YUMFOOD.COM/"><P>HOW IT WORKS</P></a> ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • lisa

    (@contentiskey)

    Try something like this if you want an external link.
    Use the Text editor not Visual editor:

    <h2>YUMFOOD HELPS YOU FIND OUT WHATS HAPPENING IN YOUR CITY.</h2>
    <h2><a href="http://www.yumfood.com/">HOW IT WORKS</a></h2>

    Result should be something like this
    YUMFOOD HELPS YOU FIND OUT WHATS HAPPENING IN YOUR CITY.
    HOW IT WORKS

    Thread Starter Nazmul Haque Sajol

    (@nhsajolbd)

    I have tried it’s not working.

    <h2 class="home-widget-description">
    YUMFOOD HELPS YOU FIND OUT WHATS HAPPENING IN YOUR CITY. <a href="http://www.yumfood.com/">HOW IT WORKS</a>?
    </h2>
    .home-widget-description {
        text-shadow: none;
        text-transform: uppercase;
        letter-spacing: .1em;
    }

    I have given original HTML structure and related CSS property. Is this make any sense?
    Note: i have already tried once disabling ‘text-transform’ property. Failed again.

    lisa

    (@contentiskey)

    please provide a link to the page so I can see the display where the problem is happening and view the source code.

    are you adding the link to a PAGE, POST, WIDGET, WIDGET TITLE etc?

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

The topic ‘Link anchor(href) also displaying with linked text’ is closed to new replies.