How to Use HTML in WordPress Text Widget

WordPress makes it easy to add content to sidebars by providing users with "widgets" like calendars, log-in boxes and archive lists. Users log into their WordPress dashboards and drag and drop the widgets into whichever sidebars they like. One useful, multi-purpose widget is called "Text," but it can do much more than just add text to the sidebar. Add HTML to the "Text" widget to add images, advertisements or whatever else you need.


    • 1

      Visit and log into your WordPress dashboard. Click "Appearance" and then "Widgets" in the left-hand menu. On the right-hand side of the screen are your website's sidebars and other widget-capable areas, named things like "Sidebar" or "Footer Widget Section." These names usually describe the section of the page they effect. Click on the one you want to work with to expand it.

    • 2

      Find the "Text" widget in the middle of the "Widgets" page and drag and drop it into the sidebar of your choosing. You can add as many "Text" widgets to as many sidebars as you like.

    • 3

      Fill in the title if you wish a title to appear over the widget's content when you visit the site. Leave it blank if you do not want a title. Paste your HTML code into the bottom input field of the "Text" widget. Check that the checkbox at the bottom is not checked, because automatic paragraphs will interfere with your HTML code. Click the "Save" button to update the widget with your new content.

Tips & Warnings

  • You can also add JavaScript code, which is often found in codes for advertisements. You can further customize HTML in the widget using Cascading Style Sheet (CSS) code.
  • Do not add PHP code to a "Text" widget, as it is incompatible and may cause the site to break.
Related Searches


  • Photo Credit Jupiterimages/ Images

You May Also Like

  • How to Add Widgets to Wordpress

    Wordpress is one of the big names in content management and blogging. With the flexibility of using Wordpress as a blog or...

  • How to Use WordPress

    WordPress is a software and service that can be downloaded and incorporated into your website. WordPress is most commonly used for blogging...

  • How to Use Google Adsense With Wordpress

    Google Adsense is an advertisement network that allows you to place Google ads on your Wordpress blog. Google will pay you for...

  • How to Access HTML on WordPress

    WordPress runs on a mixture of HTML and PHP Web programming languages. Most PHP in a WordPress theme comes in the form...

  • How to Add Twitter & Facebook to WordPress

    As social networking sites continue to grow, it is important for producers of original content to adapt and connect with their readers...

Related Ads

Related Searches
View Blog Post

Fitness Bands: Are They Worth the Money?