Adding Information in your Sidebar

The sidebar appears on every page of your WordPress site. Usually the themes have default widgets that appear in the sidebar. Once you add a new widget, t he default configuration changes. For example, if you drag a text widget into your sidebar, that is the only widget that will appear – the original default widgets that came with your theme are gone.

The text widgets are great for adding contact information, graphics and ads to your sidebars. You have to add the html code for links but I will show you how.

Open the widgets under the Appearance tab in the menu. Drag a text widget into your sidebar.  Click the edit button to open the text box. Add a title to your text widget if you want – this is what will appear as a header or title in your sidebar.

Add your contact information. Use html to add links and images. Here is an example of code used to add a link to the sidebar. Copy it and add your own information. Note – if you are unable to copy and paste items in the text widget using Internet Explorer – use Firefox. Firefox makes it a lot easier to copy and paste in widgets.

widget_textThe code looks like this:

For More Information on Creating a WordPress Site, <a href=”mailto:info@mcqwebsolutions.com”>Contact Us</a> at <a href=”http://www.mcqwebsolutions.com”>
McQWebsolutions.com</a>

 

Once you have your content entered, scroll to the bottom of the screen and select the sidebar position where you want the widget_settingcontent to appear and select the option to automatically add paragraphs.

Note: You can control the spacing of your content in the sidebar by using the <br /> tag.  Use the break tag to push content to a new line without adding a large space between the lines like a paragraph tag might add.

This text widget will appear on ALL the pages in your site unless you use a “conditional” statement to tell WordPress where you want it to appear. An easier way is to use the Widget Logic plugin. This is a plugin that makes it easy to use WordPress as a content management system – I listed it as one of the best plugins in an earlier post. I will talk about Widget Logic next, so stay tuned.