How to Create an Anchor Link in WordPress

WordPress has two design views you may use when writing a new post. The Visual Editor displays everything in your post as it will appear when you publish it. Images, font colors and styles and anchor links all show up in a "what-you-see-is-what-you-get" fashion. The HTML editor does not show these kinds of formatting, but instead reveals the HTML code that browsers interpret. You may include anchor tags in a WordPress post using either editor, but how you include one is different depending on which you choose.

Instructions

Visual Editor

    1

    Type your post. Click and drag the text that you want to turn into an anchor link to highlight it.

    2

    Click the "Insert/Edit link" button (the one with the image of the chain link), or press "Alt+Shift+A" to open the dialog box to insert links.

    3

    Enter the URL for the website you link to in the "Link URL" text box. Click the "Insert" button. WordPress changes the color of the selected text to blue and underlines it to indicate it has an anchor tag.

    4

    Finish typing your post, then save and publish it.

HTML Editor

    5

    Type your post. Click the button that says "link" to open a message prompt.

    6

    Enter the URL for the website you link to in the text box. Click the "OK" button. WordPress will insert the HTML code to create an anchor link.

    7

    Type the text that you want to use as your link text immediately after the ">" symbol. Click the "/link" button and notice that it now has a slash preceding it. WordPress inserts the closing anchor tag, "" to specify the end of the link.

    8

    Finish typing your post, then save and publish it.

Blog Archive