• Hullo again. I promise this should be my last query for a long while, as everything else should be good from here on out…

    I am using the theme “TAKTEEK01” for my blog. It has the Archives in the left sidebar. However, it lists all of my entries month-by-month, instead of yearly. As my blog was originally up on Blogger since ’05, this makes for rather a long list. Is there anyway to change this to make it list yearly instead of monthly?

    Here is the link for my blog: https://nerdykibbles.net

    Thank you in advance.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Spacedog2k5

    (@spacedog2k5)

    That kinda sorta helped, but not as exactly. My CSS is highly limited, but getting better (one day @ a time, or something like that). Here is the link to the coding currently in the blog’s theme: Archives.php. I figured this might help in determining how to go about changing this.

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    I am still in need help. The last reply didn’t really help as my CSS knowledge is limited. Can anyone please help me to change the formatting on my Archives from monthly to yearly?

    <?php wp_get_archives('type=yearly'); ?>

    You’ll need to code this in your left sidebar file, in place of the current generated list of archives.

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    The theme I am using is TAKTEEK01. I looked at both Sidebar 1 and Sidebar 2, but there is nothing in either section relating to archives. Do you want me to put up the coding for Sidebars 1 and 2 up in Pastebin so you can compare that as well? Maybe that would help?

    Are you using an Archives widget instead? (Look under Appearance > Widgets) It gets more complicated at that point. You’ll need to remove the widget and hard-code in the new Archives list instead in your sidebar file.

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    Okay, I deleted the Archives widget. Now, should that code you gave me go anywhere in particular in the sidebar or can I just place it at the end?

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    Also, here is the link to the Sidebar2 code: Sidebar.php

    It depends where you want it to go. If you want it to go after your other widgets, put it between lines 21 & 22.

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    Z –

    That worked perfect. I even figured out how to add the header title on my own! ?? I’m getting there, slowly but surely. Thanks again for the help.

    There’s one other thing I noticed that’s odd (no other word comes to mind on how to describe it). I’ll be starting a different thread for that one. And, fingers crossed, that should truly be the last anyone hears of me needing help for a while.

    Yay! Learning by doing is the best way to learn. ??

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    Z –

    Sorry to re-open this one, but I need your help with it. I had issues with badges on the right sidebar (long story – I had thread started to try and fix it, wound up going back to widgets instead as they seem to to be the only way to get them to work correctly). Now, that said, is there anyway the coding you had me insert, can that be converted to work with a widget instead? I hope you (or anyone, for that matter) can help me with this.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Archives – List by Year Instead of Month-by-Month?’ is closed to new replies.