Killer Problem Number 1:
When you are trying to balance your home page within your template in WordPress, a good way to do this is to limit the number of the achieves that are displayed. By limiting, I mean, the number of months that are displayed. You really should not have more than 12 months on the home page, this is one of the reasons that you should have a site map. The space on your home page is better utilized for advertising. If you have been blogging for a couple of years, the achives tend to raise hell on the footer of a template anyway.
WordPress does not have a way to limit the archives, even though you are told that you can insert the following code from the “codex” in your page_archive.php file or your sidebar_left.php file. Here is the code:
<?php wp_get_archives(‘type=monthly&limit=12′); ?>
I’ve worked with the above code until I’ve become bowlegged and blind, and it simply does not work.
I’m not one to engage in “Hackish” behavior, …………. but every once and a while it really comes in handy.
Here is the (Politically Correct) Work-Around.
1. Go ahead and insert the “archives” widget in the area of the template where you wish to have it.
2. Now go to the home page of your blog where the archives are displayed.
3. Right Click to the side of the template and select the “View Page Source” or “Source Code”
4. Scroll to the area where the archives html is displayed. It’s pretty easy. It stands out as a long list.
5. Highlight and “Copy” the number of months that you want displayed on your homepage.
6. Now, return to the “widgets” area and click on a “Text” widget.
7. Name the text widget “Archives” than right click and paste the html into the text area. Don’t forget to add new <ul></ul>list tags !
8. Click “Done” and “Save Changes”
9. Now remove the old “Archives” widget from the list.
10. The new text widget will display how ever many months that you want it to.









