WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] is it possible to display wp_get_archives like Blogger's "Blog Archive" section? (4 posts)

  1. micasuh
    Member
    Posted 3 years ago #

    Here's an example sidebar archive that I'm talking about:
    http://puhhleighze.blogspot.com/

    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.

  2. micasuh
    Member
    Posted 3 years ago #

    I hope someone can help me. I'm baffled.

  3. lao3d
    Member
    Posted 3 years ago #

    try this plug-in, I think it's what you are looking for:
    "Collapsible Archive Widget"
    http://wordpress.org/extend/plugins/collapsible-archive-widget/

  4. micasuh
    Member
    Posted 3 years ago #

    Yes, thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic