In an earlier post I explained what text widgets are and how to add them to the sidebar of your WordPress theme.  Today we’re going to take a look using the text widget to add links and images to the sidebar.

For purposes of this example, let’s say that you’ve made yourself a wonderful CafePress store. You’d like to put a link to your store in the sidebar of your blog.  How exactly do you do that?  It does seem a little daunting at first as there’s no visual editor for the text widget.

Here’s the secret . . . open up a new post and use the post visual editor to write the code.  Save, but don’t publish, the post.  Move to the HTML editor and copy what you’ve done.  Then you paste that into the text widget.

Let’s take it step by step.

1 – Start a new post.  In the body of the editor put in the text that you want and use WordPress to make the link to your new store.

Text Widget Example

2 – Save the draft.  Be sure not to publish this.

3 – Switch to the HTML view of your post.  See what you’ve made?  It’s lovely HTML that you can copy and paste into your text widget.  That’s all there is to it!

HTML View

What if you’ve made a swell icon to promote your store?  Follow the same steps.

1 – Start a new post.  In the body of the editor put in the image that you want.  Use WordPress to make the link to your new store.

BeetleEyes

2 – Save the draft.  Be sure not to publish this. Can you tell that I live in fear of accidentally publishing these drafts?

3 – Switch to the HTML view of your post.  Look upon the code you’ve made with pride.  Copy and paste it into your text widget.

HTML Code

How easy is that?  As you can see, using the text widget with your WordPress post editor give you lots of possibilities.

4 comments

  1. Reply

    thank you, thank you, thank you
    just what i needed

    let’s see how much further i can go on my own or you maybe hearing from me….
    once again thanks so much for your blog and clear, helpful info
    have a beautiful day……

  2. Reply

    Glad to help!

    Give me a call if you get stuck and we can arrange a time for WordPress coaching. Sometimes one hour of one-on-one time can make a HUGE difference.

    I’ve also got an ebook coming out soon. It’s filled with material just like this. It should be ready this month.

Leave a comment

Your email address will not be published. Required fields are marked *