Here’s an example sidebar archive that I’m talking about:
The function specifically that I want to mimic is the show/hide toggle for the year which then displays the months and posts. I currently have my archive code like this:
<div id="toggle" class="widget-body tabItem"> <?php wp_get_archives('type=yearly&show_post_count=1'); ?> </div>
This is the beginning step, but I don’t know how to get the months and individual posts to show up under the years similar to how Blogger displays it. Then I have to get the JQuery code to do show/hide toggle. Thanks for the help.
- The topic ‘is it possible to display wp_get_archives like Blogger's "Blog Archive" section?’ is closed to new replies.