WordPress.org

Ready to get started?Download WordPress

Forums

KG Archives Plugin (24 posts)

  1. katesgasis
    Member
    Posted 9 years ago #

    Yet another sortable archives is available for download and testing. Get it here.

  2. katesgasis
    Member
    Posted 9 years ago #

    You can see it in action here http://katesgasis.com/archives/.

    The installation was a breeze. Just upload the file kgarchives.php to your /wp-content/plugins folder and create a page with posts &lt--KGSortForm--> and <--KGSortArch-->.

    It lets you sort your archive by months and then group it by category before showing you the daily posts within that category.

    Example:
    April 2005
    Category 1
    30: post in category 1
    29: post in category 2
    .
    .

    Category 2
    30: post in category 2
    29: post in category 2
    .
    .

    March 2005
    Category 1
    30: post in category 1
    .
    .

    Category 2
    30: post in category2
    .
    .

    If you want to show only all the post in a specified month just select the month in the archive form. To display all, select All Months.

    Geez, it's that easy.

  3. Jinsan
    Member
    Posted 9 years ago #

    page not found!

  4. katesgasis
    Member
    Posted 9 years ago #

    What page cannot be found? The archives?

  5. Jinsan
    Member
    Posted 9 years ago #

    worked this time :) it must be a UK thing, every host hates us...

    Does this protect password protected posts, and does it include or excluse drafts/private entries?

  6. katesgasis
    Member
    Posted 9 years ago #

    It protects password protected posts and does not include drafts and private entries.

  7. Marc
    Member
    Posted 9 years ago #

    Call me stupid... go ahead.

    Now that your done with that.

    Is this supposed to place a button on the write page display like the comment form plugin? I'm assuming not because your instructions state to manually place the two sections of code.

    Secondly, when I used the code (<--KGSortForm--><--KGSortArch-->) it displayed the tags vice the archives.

    Any thoughts?

  8. katesgasis
    Member
    Posted 9 years ago #

    I'm sorry if the tags did not display correctly here. If you have read the readme.txt you can find the instructions there. Anyway, here <--KGSortForm--> and &lt--KGSortArch--> .

  9. katesgasis
    Member
    Posted 9 years ago #

    Damn, this post does not display ampersands correctly either. <!--KGSortForm--> and <!--KGSortArch-->. Hope this works.

  10. katesgasis
    Member
    Posted 9 years ago #

    There, use my last post. Again, my mistake I thought it would display correctly if I use amps.

  11. Marc
    Member
    Posted 9 years ago #

    Yep that did it.

    But funny I did use the correct tags as per the readme file, for some reason it burped. A second attempt corrected the problem.

  12. katesgasis
    Member
    Posted 9 years ago #

    Update: Ver1.2 is out. It now hides future posts. You can get it here.

  13. neurofluoro
    Member
    Posted 9 years ago #

    Is it possible to show all the categories for a month without grouping them into categories? I am asking because I would just like a purely chronological list and have a separate category archive.

  14. katesgasis
    Member
    Posted 9 years ago #

    What do you mean? Like Sort all posts for a month without grouping them in categories.

    April 2005
    30: A post
    29: A previous post
    28: Yet another previous post

    ?

  15. katesgasis
    Member
    Posted 9 years ago #

    If it's what you want, Shawn Grimes has a similar plugin. In fact mine is based on his. You can visit his site at http://www.hexfactor.com.

  16. neurofluoro
    Member
    Posted 9 years ago #

    You've got it. Like you can see here:
    http://blindmuse.com/blog/2004/

    I had a quick look at the plugin, and although I understand that it's more or less a matter of removing the loop in which categories are processed, php still intimidates me somewhat.

    If you'd be able to show me how I'd be very grateful indeed :)

  17. neurofluoro
    Member
    Posted 9 years ago #

    Oi, didn't see you there. Thanks for the tip, it is indeed exactly what I am looking for.

    Oh, and good work on your plugin, despite me not using it :)

  18. katesgasis
    Member
    Posted 9 years ago #

    UPDATE:
    Due to numerous complaints (2 or 3 actually) that KGArchives is generating huge amount of queries (true), I have released an update.

    KGArchives v1.3 is almost a complete rewrite and is 99% efficient (generates only 4 queries as opposed to 3x your the number of posts) and faster (less db queries, less time to render).

    The upgrade can be downloaded at http://katesgasis.com/downloads/kgarchives-1_3.zip.

  19. katesgasis
    Member
    Posted 9 years ago #

    UPDATE:
    Version 2.0 released.
    Used SAJAX backend.

    Demo is here.
    Download here.

  20. katesgasis
    Member
    Posted 9 years ago #

    UPDATE:
    Version 2.1 released.
    Dropped the SAJAX backend - too bloated for a simple task.

    Options to categorized or not, display all months or the current initially, and exclude categories in the result.

    Example:
    <pre>
    <kgarchives categorized="true" initialmonth="current" excudecat="asides" />
    </pre>

    Demo is here.
    Download here.

  21. Drew
    Member
    Posted 8 years ago #

    im getting an error, but an error that doesnt say its an error. whats wrong is, i put your tags in, and yes i have read the readme file, it it doesnt show up in my categories area. ill tell you how my wp is configured:

    1. i have permalinks enabled.
    2. my archives pages is /archives/
    3. the post slug is archives

    it just doesnt display, at all. when i view source, it just shows the tags i put into the post but still, doesnt show up on the browser.

    and yes, for the obvious question...yes, my plugin is activated.

  22. mutedgirl
    Member
    Posted 8 years ago #

    Is there a way (in the latest version, 2.9) to get rid of the dropdown? I don't want/need it, but I love the functionality of being able to exclude categories.

  23. katesgasis
    Member
    Posted 8 years ago #

    Yes, it can be hidden. Please leave a comment on the plugin's permanent page and I'll send you the modified version.

  24. mutedgirl
    Member
    Posted 8 years ago #

    Great thanks!

    I have another question... is there a way to get this to work with the Post Levels plugin? (http://fortes.com/2005/12/27/post-levels-10) The private posts aren't showing up, even when I'm logged in (they're showing up on my 'regular' archive page though)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags