Aleweb Social Marketing

The Conversations Around Us

Adding HTML Code to Your WordPress Page, Post or Widget

Many WordPress users find it easy to get started because the Visual editor is similar enough to Word that they feel comfortable getting started. But what about those times when you are provided with HTML code to add to your site? If you copy and paste it into the post or page using the Visual editor, it comes out as text, not code. So you lose the functionality of the code, and it ends up looking like this:

<a href="http://bit.ly/OWHS4O">
<img src="http://leadchangegroup.com/wp-content/uploads/2012/08/The-Character-Based-Leader-197x300.png?84cd58">
</a>

Here’s how to add functioning HTML code to your WordPress page or post.

The result will look like this:

 

If you want to add it to the sidebar instead, you have to add a text widget to the sidebar and paste the code in there instead. Here’s how to do that.

Did you enjoy this article?
Get a free excerpt from my eBook!
Download the beginning chapters of "The Plan that Launched a Thousand Books." Sign up for our mailing list, and we'll send you the excerpt by return mail. We promise won't send spam or sell your email address.

August 9th, 2012 Posted by | Marketing, Resources | 3 comments

  • http://casudi.esse-group.com/ CASUDI

    Yes, this is very helpful as always.

    In 1999 when we were first designing websites, I took an HTML course. After which I decided, we would do the web Design and work with a professional programmer for all code. And that’s what I still do with my blog(s)and those clients I help get started. Every once in a while I decide I’ll insert that little bit of code myself, and I wish I hadn’t!It’s not as easy as it looks and often way too time consuming for a non-pro!

    • Tara Alemany

      Thanks, CASUDI. I agree that adding HTML code can be intimidating and confusing. But my focus is to empower my clients and readers to recognize that, often, don’t give themselves enough credit. With the proper guidance and training, it is possible to try new things. Notice, my emphasis was on the fact that the HTML was being provided to the reader. Receiving it from a reputable source, like a conference organizer, blog syndicator, publisher, etc. and putting them on a WordPress website is easier than it may seem.

      As always, though, we’re here to serve! So, if any of my readers need the additional assistance, they can always hire us. :-)

  • http://www.bennettsbriefings.com Heather

    Thank you for this. I am not the admin for our WP site at work, but on my own I am doing my blog site in WP. This is helpful!