Home>Support>How do I create a sidebar that displays a monthly/yearly archive of posts belonging to a specific category ?

How do I create a sidebar that displays a monthly/yearly archive of posts belonging to a specific category ?

By Jay, 9 years ago. Last reply by Andrew Misplon, 9 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi. I noticed a zillion threads regarding how to remove the words “category archives” from the archives pages, but nothing on how to actually create the category archive separated by year > month. I don’t want the archive to display on its own page; I want there to simply be a sidebar that allows the user to click 2015 > November > “Fallout 4: subway tokens, please” and any other posts I write in the category “gaming.”

I imagine there is script that I can run which makes each category archive filter (year, month) expand when clicked. Any help with this is greatly appreciated. Thank you!

Jay

PS My link below will show you the widget I am currently using (the sidebar on the right). I want this to be the category year/month archive, so rather than displaying the post I want it to display the year and after it gets clicked, the month followed by the actual post.

URL: http://jaysaidit.com/gaming/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Hey J

    I recommend using this plugin and the widget it provides:

    https://wordpress.org/plugins/jquery-archive-list-widget/

    Hope that helps.

    • 9 years, 7 months ago Jay

      Hi Andrew,

      Thanks for the assist. I just downloaded the plug-in and it works nicely. Check it out (same link as before).

      I am a bit concerned though that with this widget the more posts I have per month, the longer the post list is going to become (unless I just have it direct the viewer to the monthly category page, in which case I’m going to have the same problem where the posts span way down beyond the bottom of the screen). Is there a way to incorporate a “next page” type of filter on this widget, so that the list for a given month only displays a few posts at a time (like the post loop plug-in does)? Does that make sense? If not then this widget is only a temporary fix as it’ll eventually lead to umanageable lists/category pages.

      Thanks for your continued help!

  2. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Unfortunately, not that I know of. Once you have a lot more content you can look at other, less linear ways of getting users deeper into your posts. Perhaps the use of a tag cloud widget. Things like that.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More