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:
- Download from WordPress.org (0 downloads)
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.
Hi! Installed the plugin and it works but it doesnt collapse or expand. Any idea why?
http://voize.my/archives
Hi… This is an amazing plugin, but can I put it on my sidebar?
It just works on pages (I did’nt tested it on posts), but I wanted a menu on my sidebar like the plugin.
[quote comment=”228626″]Hi… This is an amazing plugin, but can I put it on my sidebar?
It just works on pages (I did’nt tested it on posts), but I wanted a menu on my sidebar like the plugin.[/quote]
Yes, the shortcodes work inside of the text widget.
[quote comment=”228621″]Hi! Installed the plugin and it works but it doesnt collapse or expand. Any idea why?
http://voize.my/archives%5B/quote%5D
Works fine for me. 🙂
Pingback: Twitter Theme?Always Twitting… - ???? - ????????????
This is a very nice archive page solution — thanks a lot for maintaining this plugin. Two things I’d love to see added:
1. A CSS class for comment counts/post counts. Right now, there is no way to style the counts to be different from the dates.
2. The ability to do an archive listing for only certain categories.
Thanks again!
Pingback: Plugins Used Across the Board on WP Installs :Erica Was Here
[quote comment=”228666″]1. A CSS class for comment counts/post counts. Right now, there is no way to style the counts to be different from the dates.[/quote]
Yes there is:
[css].car-yearmonth span { color: red; }[/css]
[quote comment=”228666″]2. The ability to do an archive listing for only certain categories.[/quote]
This plugin needs an overhaul so that you can configure that kinda stuff, but for now just edit the plugin’s
get_posts()call and add a category parameter.Ah, you’re right. I wasn’t thinking about the span tag like that.
I understand completely about needing to overhaul a plugin — no worries. Just wanted to let you know that there is interest in such a feature should you have time to get to it.
Thanks again!
my case, http://tech.chitgoks.com/archives/
nothing comes out. my pages doesnt get loaded. in my other blogs only the text
[quote comment=”228677″]my case, http://tech.chitgoks.com/archives/
nothing comes out. my pages doesnt get loaded. in my other blogs only the text[/quote]
Appears to be working for me. 🙂
Hi Viper,
thank you very much for this plugin.
I just made the Albanian Translation of the plugin and want to send you the .po .mo files. Contact me throught my email in order to send you the files.
Thanks a lot
Best Wishes
Romeo
Hello.
Just installed your plugin via my wordpress plugin install page. Now it’s installed, but exactly how do I access the page, does it have a URL? If so, what would the URL be?
Thanks
Martin
At the bottom:
http://wordpress.org/extend/plugins/clean-archives-reloaded/installation/
Thank You, It also helped when I read the “clean-archives-reloaded/readme.txt” on the edit plugins page…It was all there in black and white…
Pingback: WordPress Theme:Keso Blog - ???? - ????????????
Pingback: Theme 2.8?Twitter?Apple?Keso - ???? - ????????????
Pingback: how to start Blogging | indimovi
Pingback: ???? » Blog Archive » ?????
Pingback: anne summers – Australian Web Designer Ricky Onsman
Pingback: ???? » Blog Archive » wordpress??????????????!
Its look great plugins, i wil try it , thank
Hi,
Just installed your plugin after exploring lots of other archive ones and am very pleased indeed with it. It is clear and neat and efficient. Only thing I would like that it does not do is to view the excerpt of each post when mousing over the title. I tried inserting — title=”‘ . get_the_excerpt( $post->ID ) . ‘” in the html on line 293 but all it shows is the excerpt for the page holding the archives. Is there any way of doing this?
PS If I can get a mouseover to display the excerpt of the post I would like to use the plugin for all my category displays but do not know enough coding to – ‘just edit the plugin’s get_posts() call and add a category parameter.’. Be most grateful if you could describe for me exactly how to do that.
John
Hi !!
I have installed it but can not see any result. Please let me know how to configure it on my site. Please let me know after install how can i use it on my movie site. [spammy link removed]
regards
Please post the URL to the Page where you are trying to get the output to occur.
Also make sure to read this: http://wordpress.org/extend/plugins/clean-archives-reloaded/installation/ (the bottom bit)
Sorry for my ignorance, but i installed the plugin. now how do I insert this in a page, is there any shortcode or something.
I am a newbie.
http://wordpress.org/extend/plugins/clean-archives-reloaded/installation/
See the bottom. I should make that more obvious.
Hi,
my (strictly private) blog telling stories from our daughter has a long list of categories, referencing the age of our daughter in months (first, second etc.). Now she’s nearly 2 years old and will have a sister soon.
I would like to put all the old pages into an archive like yours but save their respective categories for further reference. How do I get rid of the archived categories in the main category list shown on each screen?
Thanks for your help.
Ralf
Edit: I have excluded several category IDs in my sidebar widget php categories.php code. However, now your plugin also shows only the NOT excluded categories.
After examining this result, I have modified the widget call to a file called categories-list.php (with the exclusions) and a separate categories.php original (with no exclusions). However, the List produced by your plugin is still too short. How do I get separate results: short categories list in my sidebar but full list on my archive page produced by your plugin?
Edit II: Bingo! I have disabled Exclusion Plugins (Simply Exclude/Advanced Category Excluder) and simply excluded the categories as explained in my first edit above. The sidebar widget follows the instructions in categories-list.php and the Clean Archives Reloaded is not controlled by the other plugins mentioned above. Great!
This is driving me nuts. This plugin works great, but I am trying to disable the comment count. I understand that there is not an option to do this, but I am having no luck commenting out the lines I need to in order to get rid of the comment count. I have tried several times, but I only create fatal errors that prevent reactivation fo the plugin. I post the code here that seems to control the comment count. Could you tell me exactly what to comment out? Thanks.
[php] // Unless comments are closed and there are no comments, show the comment count
if ( ‘0’ != $atts[‘commentcount’] && ( 0 != $post->comment_count || ‘closed’ != $post->comment_status ) && empty($post->post_password) )
$html .= ‘ (‘ . $post->comment_count . ‘)’;
$html .= "\n";
}
$html .= " \n \n";
}
$html .= "\n\n";
return $html;
} [/php]
Just try the option commentcount=”0″ in your page text: Use [cleanarchivesreloaded commentcount=”0″].
Leave the source code as it is.
Thanks I edited back the PHP file and used that switch. I must have missed that in the readme file. Is there a simple listing of all the available switches?
http://wordpress.org/extend/plugins/clean-archives-reloaded/other_notes/
Looks like I forgot to add the “postcount” and “commentcount” parameters to that list though when I added them.
Well a few more tries and I have the comment count off. Below is the line I had to comment out to do it. Did I do it in the best way?
//$html .= ‘ (‘ . $post->comment_count . ‘)’;
I added the code as required and it kills my web page. Example: http://promechanics.com/test-page/
Rest of page works fine. Yes, the plugin has been activated. Could this be a javascript run error or is there something else going on?
The page breaks right where I added the code. whatever it is doing, it is preventing the site from loading the rest of the page code.
Stop editing the PHP file and put it back to how it was before. 😉
So you are saying that one of my PHP calls is incorrect?
I’m saying it looks like a PHP error is occurring with errors set to hidden and that you don’t need to edit a single part of the plugin in order to do what you’re trying to do. There are shortcode parameters to control that, as Ralf pointed out.
Great plugin. Would it be possible to have the months be active links like a conventional archive page?
How would you expand and collapse them then?
Pingback: Kilka nowych funkcji na markasblog | markasblog
Great job! This plugin is very helful.
thanks for sharing.
Joachim
Hi, this is what I have in this page
[code]
There are [cartotalposts] News:
[cleanarchivesreloaded]
[/code]
It used to work until lastnight, everything just crashed and displayed as an empty page. I’ve already upgraded to latest version but still same.
Please help.
The web address is http://zincip.biz/archives/
Just to add on. The website is http://www.zincip.biz/archives/
I tried to remove the [cartotalposts] line, still the same, so I tried the other way round (remove [cleanarchivesreloaded]), the page showed There are 958 News;
This means that the [cleanarchivesreloaded] has problems. Is it because there are too many posts?
Any resolution to this?
Please help!
hi???thanks for the update…i really like this plug-in!!! yaatttaaa!!!!
It gives me…
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 289217 bytes) in /home/xxx/public_html/wp-includes/formatting.php on line 183
[cartotalposts] works
[cleanarchivesreloaded] works not, because it gives me the fatal error.
Hi Na?ul,
I have the same problem, how do you fixed it?
THANKS!
The only fix is to increase your memory limit:
http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
I need to code up an alternate method of querying all of your posts uses less memory at the cost of having to use more database queries.
Nevermind, I fixed it 😉
Thanks for great plugin.
Happy holidays.
Pingback: WP???????RunPHP | ????-????
Great job with this plugin, It is almost exactly what I am looking for.
I have a question about the source code. I’m not that great with advanced php symantics but Iv’e found the spot I want to edit:
[screwy code removed]
I want to place an echo to call a custom field I have of a post thumbnail in every post. something like:
[screwy code removed]
When I insert my code as it is into the [screwy code removed] it breaks the entire thing. Maybe you could help me get my semantics right? Thanks a ton, and great job on the plug in, its rockin!
oh, that code above didnt come out right after posting. Is it clear what i am trying to accomplish though?
You can wrap your code in [php] or [code] here if you want.
And I do no provide support for modifying my plugins. Look up get_post_meta() on the WordPress.org Codex though. It’ll do what you want when inserted into the proper place in my plugin.
Its totally understandable not to provide support for modifying your plugin. The generosity you have shown by releasing this plugin is more than I could ask for.
Ill place that code there again, just in case you or anyone else can see a quick, no-effort-on-your-part solution:
[code]$html .= ‘ <li class="postlisting"><a href=""><?php $image = get_post_meta($post->ID, ‘grid_thumb’, true); ?><?php echo $image; ?>’ . get_the_title( $post->ID ) . ‘</a>’;
[/code]
Thanks again!
Hi,
My CleanArchive got blank also, same like the others, is there any solution for this ?
Thanks
Probably running out of RAM. Increase the amount allocated: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
I really need to recode this plugin to provide the option to allow for using a lower-memory (but higher number of queries) option.
Thanks a lot for this.
Yeah, the temporary solution now I have to put
[php] define(‘WP_MEMORY_LIMIT’, ’96M’); [/php]
Into wp-config.php
Thanks again.
Cheers,
Raffaell
Pingback: Going “Elemental” … in 70 Minutes! | livingwithmusic.com
Pingback: Karrai
Nice plugin; I’ve been using it for a year or more. I changed the get_posts call to exclude all categories except one.
Now I’m wondering about running multiple instances of the plugin to have multiple one-category archives. Might there be a way to change the shortcode and th function name and call a second copy of the plugin? A hack, yes…. And/or a possible feature for a future version?
Yes, all that kinda stuff is planned for the future, I just don’t have the time to get it done.
I managed to get a “Smart Archives Reloaded 2” to show up in Plugins, but the [smartarchivesreloaded2] shortcode doesn’t work, probably due to a conflict with several get post loops on one page, or the cache. Mind if I ask around the WP plugin forums to see if I can get this idea to work?
If anyone is having any luck achieving this functionality (multiple instances of the plugin limited to one category each or something similar with the same end result) please post it here. I am in need of doing the exact same thing, yesterday.
🙂
Did you find a solution to running multiple instances of the plugin to have multiple on-category archives? I’m looking to do the same thing!
Any chance of you sharing the ‘get_posts call to exclude all categories except one’? It’d be really helpful! Thanks.
Just exclude all the categories you don’t want, i.e., around line 200:
[code]
// Get a simple array of all posts
$rawposts = get_posts( ‘numberposts=-1&category=-4,-6,-7,-9’ );
[/code]
Brilliant! Thanks very much.