WordPress.org

Forums

Clean Archives v1.0 (36 posts)

  1. shawng77
    Member
    Posted 10 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/

  2. moshu
    Member
    Posted 10 years ago #

    It looks cool! :)
    Bookmarked!

  3. whooami
    Member
    Posted 10 years ago #

    its off topic, but you have a very nice site, Shawn :)

  4. davincim
    Member
    Posted 10 years ago #

    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/

  5. shawng77
    Member
    Posted 10 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.

  6. davincim
    Member
    Posted 10 years ago #

    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?

  7. shawng77
    Member
    Posted 10 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.

  8. davincim
    Member
    Posted 10 years ago #

    Thank you very much, Shawn! I appreciate your time on this. :)

  9. shawng77
    Member
    Posted 10 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?

  10. davincim
    Member
    Posted 10 years ago #

    I put it in the archives page I created.

  11. davincim
    Member
    Posted 10 years ago #

    To be clearer, I created the WP Page and put the code in that.

  12. shawng77
    Member
    Posted 10 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.

  13. davincim
    Member
    Posted 10 years ago #

    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?

  14. shawng77
    Member
    Posted 10 years ago #

    davincim:

    Yes that is corerct and exaclty what I did in the link above. It works fine for me.

  15. davincim
    Member
    Posted 10 years ago #

    Woo-hoo! That did it! :)

    Now I'm off to tweak the style. Thanks Shawn!

  16. shawng77
    Member
    Posted 10 years ago #

    davincim:

    No problem. Glad you got it working :)

  17. AsceticMonk
    Member
    Posted 10 years ago #

    Great plug-in Shawn!

  18. shawng77
    Member
    Posted 10 years ago #

    Glad you guys are enjoying the plug-in.

    @whooami: Thanks for the kind words on my design. I appreciate it.

  19. Suman
    Member
    Posted 10 years ago #

    Thanks for making this plugin shawn. I'm using it as a workaround to fix Blix protected post bug.

  20. shawng77
    Member
    Posted 10 years ago #

    Suman:

    Your welcome. Glad you are getting some use out of it.

  21. pezastic
    Member
    Posted 10 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?

  22. kingcosmonaut
    Member
    Posted 10 years ago #

    Fixed. Now protected posts are hidden from the Blix archive, too.

    pezastic, I'm not sure but I don't think so.

  23. shawng77
    Member
    Posted 10 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.

  24. Suman
    Member
    Posted 10 years ago #

    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.

  25. shawng77
    Member
    Posted 10 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 :)

  26. Suman
    Member
    Posted 10 years ago #

    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.

  27. shawng77
    Member
    Posted 10 years ago #

    Haha, thats ok Suman. No worries.

  28. storymom
    Member
    Posted 10 years ago #

    Thanks for the plugin, I love it. Nice and neat. :)

  29. shawng77
    Member
    Posted 10 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.

  30. absalom
    Member
    Posted 10 years ago #

    Could this be modded to display nice archives for each category, each author and each post title ?

Topic Closed

This topic has been closed to new replies.

About this Topic