Clean Archives Reloaded

What Exactly Does This Plugin Do?

It creates a pretty list of all of the posts that you’ve made to your blog. To see an example, check out my archives page. Note that the image located there that shows the post times of recent posts is generated by a seperate plugin.

Download:

Support / Feature Request Forum:

http://wordpress.org/tags/clean-archives-reloaded

Credits / History:

This plugin is based on a concept (it no longer shares any common code) by Sebastian Schmieg for the archive page of his “Blix” theme. His code was later converted to a plugin by Shawn Grimes.

The drawback of both of those versions though was the sheer number of queries required (around 1 per month + 2 per post — it added up quick). So, I decided to make my own version which cached the output so that it was only regenerated when needed and otherwise just pulled with 1 query from the database. I was also given the idea by Chris O’Rourke to use Javascript to make the months collapsible as many people’s archives pages were getting rather long.

All of that was then replaced by the current version which uses WordPress functions and internal WordPress caching techniques to make only one query per page period.

780 thoughts on “Clean Archives Reloaded

  1. Hi Alex ~ I love your plug-in! However, I am having problems with the comment count on posts that I had imported into my blog. At first I thought it was because WordPress was not counting those comments, either. I fixed that. But they are still not showing in the archives. Here is the link, the number of comments are not showing for posts before May 2009: http://www.gipsylife.com/archives/. Can you help? Thank you, Kerstin

    • My plugin pulls the comment count from an internal cache that WordPress keeps. How did you import your posts? Perhaps the importer didn’t update the count my plugin uses.

  2. Thanks for replying, Alex.
    Phew. I don’t remember. I used the import function in WordPress. I added your plugin AFTER I did the import. And at the time of import WordPress did not count all the comments correctly, I only fixed that recently so that now they are being counted correctly. So what’s my best recourse, import again?

    • Yeah, I guess so. I dunno for sure. My plugin is just reading the cached comment count out of the database. It doesn’t need to be activated or anything during import.

  3. i used this Plugins but showing this error

    Fatal error: Out of memory (allocated 61079552) (tried to allocate 131072 bytes) in /home/loggia/public_html/wp-includes/wp-db.php on line 958

  4. Pingback: sendeindir.org,muzik indir,film indir,oyun indir,tema indir

  5. Pingback: Januar 2010: Eine Übersicht der benutzten Plugins auf meinem Blog // hombertho.de

  6. I’m coming up with a blank archive page as well – i tried the memory limit fix but it still seems to show up blank. i’m with 1and1.com hosting. any help would be great.

  7. Pingback: ??????????? | ????

  8. Pingback: 7 Link SEO Tips for Bloggers | You can be an Internet-Earner too!

  9. Pingback: Wordpress???? | TechTrack

  10. Pingback: Best Simple Word Press Plugins | Kristi Barrow

  11. Awesome plugin! Thanks for sharing it with the wordpress community. I’ve installed it and it’s exactly what I wanted.

  12. Pingback: Achter de schermen… | Illiveris

  13. Hey Viper,
    i add a new page called archive, then i fill with
    “Here is all [cartotalposts] of my posts:
    [cleanarchivesreloaded]”

    It worked charm, but when i click expand all, suddenly the archives are closed and the javascript is not working perfectly.
    How come?

  14. Hi Alex, I use CAR on 4 of my own blogs and 3 others I host. The one on the blog linked above stopped displaying the page recently and I tracked it down to the memory_lime of 32M I had set on the server (which I had to do to defeat some runaway spambots). Using define(‘WP_MEMORY_LIMIT’, ’64M’); in the wp-config.php file solved the issue.

    I’m actually thankful the memory limit reverts to 32M after the PHP page is displayed. I just wish I could figure out how to increase the limit for only the page I’m using the plugin for.

    • It’s a bit ugly, but I think this is the best way:

      [php light=”true”]if ( ‘/your-page/’ == $_SERVER[‘REQUEST_URI’] ) define( ‘WP_MEMORY_LIMIT’, ’64M’ );[/php]

      That will only increase the limit at yourdomain.com/your-page/

  15. You’re awesome. I thought of doing it in the page template and your suggestion tells me it’s a good thing I waited. I completely forgot about doing it conditionally versus for every page. Duh.

  16. A great thanks for this plugin! It is very user-friendly, neat, and functional to my blogging activities. Been looking for something like this for a long time already!

  17. This plug-in is what my friend is looking for but I can’t seem to get it into the sidebar. It appears in the main body. He wants to duplicate this look: http://hifiheroin.blogspot.com/

    He likes how it lists the titles much as your plug in does for easy reference. Also he’s techno illiterate. I see some people are trying to code it to auto insert [cleanarchivesreloaded] which would be best. I’m fairly new to WP and appreciate your help.

  18. Pingback: How To Please a Woman with WordPress and CSS

  19. Hi!

    I just added your plug-in and the there seems to be a js issue with the expandable box. It opens already expanded. I saw another post about adding “” into the header.php file, but it doesn’t help. Any suggestions?

    Thanks!!

  20. I forgot to add the link

    alicemanningdesign.com/blog

    This is in development for my client, so I want to make the changes here before I fix my client’s.

    Also, the php code that I added into the header.php was

    Thanks, Alicce

    • Just looking at your theme’s source I can tell you’re still missing the hook as your XML-RPC URL isn’t being outputted by WordPress.

      Open your header.php, find </head>, and add this directly before it: <?php wp_head(); ?>

  21. Pingback: ????? | ????

  22. Pingback: 5 of the Best Wordpress Plugins « Impleo

  23. hey, I think this plugin is great, just 1 question!!!

    I would like to remove the number of posts that appear to the right of each month…I was looking at the php file but i have ZEROO idea what to do.

    I’m sure i only need to delete a small portion or even one line, any help would be greatly appreciated. thanks much and great work.

      • Hi, thanks for your reply…

        that CSS only removes the comment count for each post under the month, but I would like to remove the total number of articles published in each month… can u plz tell me the css code for that? thanks much

        • Never mind, i just found it 🙂 this is the code in case anyone wants it, just add it to your CSS, it will remove the number of posts for each month – thx

          .car-yearmonth span {
          display: none;
          }

  24. Pingback: julie mccrossin – Australian Web Designer Ricky Onsman

  25. Pingback: List of useful Wordpress Plugins - Reaper-X

  26. Pingback: A vueltas con los índices del blog | La Bitácora del Tigre

  27. Pingback: ????????: RunPHP | ??

  28. I love this plug-in. It allows me to easily make a HTML based sitemap/archive for my blog running the latest version of WordPress. I like how clean it looks.

  29. Pingback: EVERYPLUS » Blog Archive » WORDPRESS – ???????????

  30. Pingback: On the mend… « oheff.me

  31. Pingback: ??????(Archives)?? ?? | CoCo Bauer

  32. Hi,

    im really excited about this plugin but im having some problems. Right now my archives are stacked together tightly. No indents and no bullets. Will I have to do some work in CSS or am I missing a step?

    thank you for your time.

      • When I implemented the plugin, it took my styles in Firefox just fine, but not in IE. Why would IE be showing the output in Courier?

        • Not sure, but my plugin essentially doesn’t apply any CSS. If there’s display issues, then it’s something with your theme’s CSS that relates to standard unordered lists.

  33. Hi there,

    OK, so call me a noob (well I pretty much am), but I need help with installing this plugin. Here’s what I did based on the install guide provieded by geekwithalaptop.com:

    1-I used the wordpress auto-installer, and then activated it via the plugins page.
    2-Created a new page, named it ‘archives’
    3-Using the HTML editor, I pasted into the type area, but nothing showed up when I viewed the page. Same goes for when I used the -code- function.
    4-I then tried the ‘Visual’ editing panel, and pasted again. When I viewed the page, all I saw was the text that I pasted:P

    @I also see that the link explains:

    Also, make sure under ‘Page Template’ you are using ‘Default Template’ as some WordPress themes have an archives template.

    However, I did not see this ‘template’ option anywhere.

    Appreciate any help, and thanks.

  34. dear Mr.Alex
    I am new to the website
    I was almost in despair, but thanks to this plugin makes my spirit again.
    God bless you

  35. hi,

    i want the archives to appear in my sidebar and i added [cleanarchivesreloaded] in my sidebar.php made sure that i have also activated the plugin but its not working, im just seeing [cleanarchivesreloaded] as it is.

    i must have missed something out, help please.

    thanks in advance.

  36. Use Javascript to make the months collapsible

    Month Ordering
    Show newest months first

    Post Ordering Within individual months…
    Show newest posts first

    now im getting this Fatal error: Call to undefined function cleanarchivesreloaded() in C:\xampp\htdocs\wordpress\wp-content\themes\classic\sidebar.php on line 16

  37. Pingback: Randomn3ss — Review: Gallerific WordPress Theme | The Relaunch of MikePanic.com

  38. Pingback: ?????WP????? « ????SlackPark

  39. Pingback: Credits | Clar.me

  40. Pingback: WordPress—-?????

  41. Pingback: ????????: RunPHP | WP??????

Comments are closed.