Modifying your sidebar contents
Posted by Professor as Blog Tutorial, Design and Themes, Templates, Tips
Sometimes you just can’t help but notice some things on your theme’s sidebar. Sometimes you do not really like the order of the information which could be found on your sidebar. Or maybe you would like to add or remove some things.
Let us look back on the White as Milk theme. There is a section for archives. If you would rather not have the Archives section at all, you could edit the sidebar template. The nice thing about WordPress is that you are focused on which part of the theme you are editing. In this case, it’s the sidebar.
The White as Milk theme has a section for Author/Blogger information. Would you like to use it? If so, then remove the indicators that comment it out. The indicators are the <!-- and the --> so that anything between those are hidden. After that, add the information about yourself in the filler part of the template.
Also, if you want your Archives part to appear somewhere, you have know what part of the template contains the information. In this case it’s this:
<li><h2><?php _e('Archives'); ?></h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li></code>
The clue for us is that it says Archives. Within the section of Archives, you have the WordPress template tag which handles it quite easily for you.
You could move that to somewhere lower on your sidebar if you like. Maybe if your blog is more of a story blog and you'd like your visitors to read up the different categories rather than focus on the dates they have been posted, you could opt to do that.
If you're using sidebar widgets, you don't really have to mess with knowing what template tags are. After all, you would only have to drag and drop them from the panel. Customizing them is also possible through the dashboard so that shouldn't be too difficult. However, as I pointed out before, sometimes it's easier to mess around with template tags and such for one's sidebar because it's easier to control via CSS and stuff. Sometimes the widgets have their own styles and it could be quite problematic.
[tags]blogs,wordpress,tutorial[/tags]
Related Articles
- Duplicate Contents
- WordPress themes: A gentle introduction
- Focusing on the Sidebar: Show me the Money!
- Focusing on the Sidebar
- Knowing your WordPress theme
Our Features
-
Design and Themes
Is Your Blog W3C Compliant?
Last night I checked my personal blog’s code hoping I can proudly display the W3C Validated Button. Since I use Blogger and do not really do anything to clean up the code (beyond adding Alt-tags to the images I embed) I wasn’t surprised at all to find that my blog contained lots of errors – [...]
Read on
More Design and Themes Features -
Software and Widgets
Wordpress Plug-ins
If you blog using Wordpress and can’t do something that you want done like adding Sphere-related content at the end of your blog posts you might be surprised to find out that there are already plug-ins available that make it happen.
Read on
To find good Wordpress plug-ins all you need to do is search for “wordpress [...]
More Software and Widgets Features -
Reviews
A Friend In Need
I’m helping out my friends from the UA&P – IShareHappiness Blog Team.
Read on
Whenever you feel pessimistic, angry, troubled, frustrated, and depressed – what have you – you need someone to talk to. Someone who could help you be more optimistic and help make you feel that there is hope. Sometimes it’s hard to talk to someone [...]
More Blog Reviews -
Monetization
Review: Logical Media
Logical Media is one of the innovative services that pay for ad placement within blogs. Do you have a blog and are you seeking a way to make additional money from the blog? Are you seeking a way to offset other programs with the use of ads? Through the registration with Logical Media, the blogger [...]
Read on
More Monetization Features -
Marketing and Search Optimization
Search Rank Drop and False Alarms
Happy Holidays!
Read on
What are the chances of someone being concerned about their blog’s search ranking dropping on Christmas Eve? I have no idea but then again if I’m writing about it right now then there’s probably someone somewhere around the world doing SEO at this very minute.
If you have experienced a sudden drop in ranking, [...]
More Marketing and SEO Features
SUBSCRIBE
CATEGORIES
- Blog Tutorials News
- Design and Themes
- Featured Articles
- Marketing and Search Optimization
- Monetization
- Software and Widgets
- Writing
Bloggy Awards
- Princess Know It All
- Single Independent Sistah
- BULLy the BEAR
- Lady Loves Pinstripes
- The Reyes Report
Blogger Jobs
- Contribute to online education!
- Wanted: Entertainment Writer/Researcher
- Seeking a Long-Term Blogger/Webmaster/Virtual Assistant/ To Run Family Friendly Websites
- Hippie Magazine is looking for writers!
- Where all you have to do is link…

CONTRIBUTORS
RESOURCES
- Blog Herald
- Blog Network Watch
- Copyblogger
- Daily Blog Tips
- Japanese Blogs
- Lorelle on WordPress
- Problogger




