• 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 https://www.hexfactor.com/2005/04/28/clean-archives-plug-in/

Viewing 15 replies - 1 through 15 (of 35 total)
  • 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: https://familywebwatch.com/blog_test/archives/

    Thread Starter shawng77

    (@shawng77)

    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?

    Thread Starter shawng77

    (@shawng77)

    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. ??

    Thread Starter shawng77

    (@shawng77)

    davincim:

    I just tried it here: https://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.

    Thread Starter shawng77

    (@shawng77)

    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?

    Thread Starter shawng77

    (@shawng77)

    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!

    Thread Starter shawng77

    (@shawng77)

    davincim:

    No problem. Glad you got it working ??

Viewing 15 replies - 1 through 15 (of 35 total)
  • The topic ‘Clean Archives v1.0’ is closed to new replies.