shawng77
Member
Posted 7 years ago #
I am pleased to announce my first ever plug-in for WordPress, "Clean Archives". It is a simple plug-in designed to display your archive listings in a clean and uniform fashion. It lists the Month / Year (links to that months archives), the day of the month the article was published, the title of the article (permalink to article), and the number of comments that have been made on each article. It also hides password protected articles from showing up in your archives list.
You can see it in action on my archives page.
For more info and download visit http://www.hexfactor.com/2005/04/28/clean-archives-plug-in/
It looks cool! :)
Bookmarked!
its off topic, but you have a very nice site, Shawn :)
Shawn, I like the what your plugin does on your blog, but after I installed it, there's no difference to my archives page. I activated the plugin and I put <?php srg_clean_archives(); ?> in the archives page, but I must be missing something else.
Any ideas?
EDIT: here's my test blog: http://familywebwatch.com/blog_test/archives/
shawng77
Member
Posted 7 years ago #
davincim:
The code for this plug-in was based on the code found in the Blix theme, which you are using on your test blog. So apparently it is still trying to use the function.php file that comes with Blix. Try a different theme is all I can suggest.
shawn: I'm confused. Your plugin is based on Blix and since I'm using Blix it should work, but I should use another theme instead?
shawng77
Member
Posted 7 years ago #
davincim:
The function.php file that resides in the Blix theme is what controls the output of an archives page. So it appears that unless you make a different Archives template for Blix, this plug-in will not work? I will download Blix ASAP and see if I can find a way to fix this. Sorry for the inconvenience.
Thank you very much, Shawn! I appreciate your time on this. :)
shawng77
Member
Posted 7 years ago #
davincim:
I just tried it here: http://www.hexfactor.com/temp/?page_id=4
It seems to be working fine for me. Where did you put the <?php srg_clean_archives(); ?> exactly?
I put it in the archives page I created.
To be clearer, I created the WP Page and put the code in that.
shawng77
Member
Posted 7 years ago #
davincim:
Look at the readme file that comes with Blix. Did you create archives page that way? If not. I would delete the page you made and follow those directions.
Then, open the archives.php file in the Blix folder and replace the php function in that file with mine and there you have it.
Did you create archives page that way?
Yep.
...open the archives.php file...
To make sure I understand you, you're talking about replacing line 14 (<?php BX_archive(); ?>) with <?php srg_clean_archives(); ?>, right?
shawng77
Member
Posted 7 years ago #
davincim:
Yes that is corerct and exaclty what I did in the link above. It works fine for me.
Woo-hoo! That did it! :)
Now I'm off to tweak the style. Thanks Shawn!
shawng77
Member
Posted 7 years ago #
davincim:
No problem. Glad you got it working :)
shawng77
Member
Posted 7 years ago #
Glad you guys are enjoying the plug-in.
@whooami: Thanks for the kind words on my design. I appreciate it.
Thanks for making this plugin shawn. I'm using it as a workaround to fix Blix protected post bug.
shawng77
Member
Posted 7 years ago #
Suman:
Your welcome. Glad you are getting some use out of it.
pezastic
Member
Posted 7 years ago #
I'm using the Blix theme. The only difference I noticed with this plugin and Blix is addition of the day of the month to the left of each post title (something I'd rather not have anyway). Is there any other difference or advantage?
kingcosmonaut
Member
Posted 7 years ago #
Fixed. Now protected posts are hidden from the Blix archive, too.
pezastic, I'm not sure but I don't think so.
shawng77
Member
Posted 7 years ago #
peztastic:
Since you are already using Blix then probably not. I made this so that people not using Blix could have some nice looking archives.
Thanks Sebestian, that was fast. I will switch back to Blix native archive pages as soon as I get back home. Thanks again Shawn, I hope you won't have any hard feelings for not using your plugin.
shawng77
Member
Posted 7 years ago #
Suman:
Of course not. Read the post right above yours. This was thrown together for people that may not be using Blix but want similar look and feel for the archives page. Simple as that :)
oh! I might have kept the thread open in the browser for too long without refreshing. I missed your last post Shawng, sorry about that.
shawng77
Member
Posted 7 years ago #
Haha, thats ok Suman. No worries.
storymom
Member
Posted 7 years ago #
Thanks for the plugin, I love it. Nice and neat. :)
shawng77
Member
Posted 7 years ago #
storymom,
I'm glad you are enjoying the plug-in.
There has been a small update to the plug-in to keep future posts from appearing in the archives. So if that is an issue for any of you, please re-download the plug-in.
absalom
Member
Posted 7 years ago #
Could this be modded to display nice archives for each category, each author and each post title ?