KG Archives Plugin
Download current stable for WP 2.3
Update:
January 15, 2006
KG Archives V2.9 is released.
Fixed a bug that display posts multiple times even when uncategorized. As usual, it can be downloaded from the download page.
January 10, 2006
KG Archives V2.8 is released.
Archive can now be excluded without categorizing. As usual, it can be downloaded from the download page.
June 25, 2005
KG Archives V2.1 is released.
It includes options to categorized, initial month to display, and exclude categories. As usual, it can be downloaded from the download page.
KG Archives V2.0 is released.
This uses SAJAX backend and output is uncategorized. Alternately, you may download from the download page.
KG Archives V1.4 is already available.
This is a stripped down version.
Or you can get it from the download page.
A new version (1.3) which is faster and more efficient is available for download. Installation procedure can be viewed here.
This is my first plugin for Wordpress. It sorts the archives by months and groups it further by category. This is helpful if you have tons and tons of posts, for example online news like blog.
Installation
- Upload kgarchives.php to your /wp-content/plugins folder.
- Activate in your Admin Panel.
- Create a page.
- Put <kgarchives /> tag in your post.
- And you’re done.
I have tested this to work with WP1.5.x and WP2.0.
KG Archives was inspired by a similar plugin by Shawn Grimes.
I noticed this with 2.1 RC1 and again with RC2. Any defined page shows up as a normal post in the Archives section using the KG Archives plugin.
Hi! I love this plugin and I’d like to know if it will work fine with WordPress 2.1…
Tks!
To Lu and Pepe
There’s an updated version in the downloads area. Click on the KG Archives version 3.0 link. That works on WP2.1.
Having trouble with WP 2.1 and the KG plugin v.3:
when I try to insert the tag in the page:
In Visual Editor, it looks fine but is changed into the html equiv, and doesn’t work.
In the code editor, I insert the correct tag , then save the entry, and the code is automatically changed to:
I have tried this a bunch of times, and once or twice DID see the expected archive page in the preview, but always after saving, it disappeared and the code was changed.
What am I missing?
Thanks
Peter
Katie, this plugin is awesome – THANK YOU for creating it and releasing it into the wild!
Thanks for a great plugin- it solved a problem nicely by creating an index of posts. FYI, I’ve made a mod for WP 2.1 as the database now includes pages in the wp_posts table; on our site, I did not want pages listed in the archives.
I simply added an extra condition to all queries:
AND post_type=’post’
Hey, this is a cool plugin, so neat and compact. I needed also to show the author’s name, as well as the option to sort by author (within the category, if sort by categories is also enabled). So I whipped up a small patch
please let me know in a followup comment if you’re interested.
Hi
Do you intend upgrading this plugin to work with the forthcoming 2.3 and it’s new taxonomy structure?
Thanks
Andy
Andy,
Thanks for bringing that up. I’m out of touch with the WP codebase. I’ll check on it and put out an upgrade.
Kates
That’s great as I would like to continue using it. In 2.3 gone are the categories, linkcats and post2cat tables replaced by a more flexable and extensible structure… and scheduled for release 24th September!
Thanks for the quick answer. I wish you all the best
Thank you for a great plugin, i love how it looks and works.
I found a small error, because of my let’s say lazy posting lately, that when a month contains no posts, my div’s are all messed up. Apparently you open the div “kg archives”but don’t close it if there are no results.
This is easily fixed in the function fetchArchives i changed the last lines to :
...
}
$koutput2 .= "</ul>\n";
}
$koutput2 .= "</div>\n" ;
return $koutput2;
}
You might want to include it.
I hope this helps.
nathan,
Thanks. I’ve included the fix for the next release inline with WP 2.3.
Any word when a WP 2.3 compatible version will be released?
Great plugin and I am looking forward to the version that will work with WP 2.3!
KG Archives for WP2.3 is available at the downloads page. Or you can click here to download it directly.
Kate, how can I format the output so that there is some white space between my page name – Archives, the dropdown box, and the current month – October 2007.
Is it possible to include an option as to whether the dropdown box is displayed or not?
Gary O
Gary,
If you don’t need the dropdown box then there’s a plugin that does just that. You can get it from my good friend Shawn Grimes. Hmmm. It’s down at the moment. Your suggestion actually makes sense so I’m doing a quick hack to accommodate the option. Be back here in 2 days since I am not in my work computer right now.
I downloaded the latest version and get a table does not exist error message when I click on my archives page.
Is the latest version ONLY for WP2.3?
If so, I will wait to install it until I upgrade to 2.3.
Will,
KG Archives v4.0 is for WP2.3. For WP version before WP2.3 download KG Archives version 3.0 from the downloads page.
Hi –
I love the plugin, but I noticed something today I hope there’s a quick fix for: The archive listing excludes password-protected posts. Is there some code I can add/alter to make them show up in the list?
I always used this plugin in a post, but now I would like to use it in my template. I tried adding kgsortarch() directly in a table on a seperate archives page, but it’s not working.
By the way, when adding kgarchives the ‘old way’ inside a post but within a table, it also doesn’t work. Outside the table it’s ok.
Any ideas?
Thanks…
Edit…
Same thing with a span or div. When kgarchives / is called from within one of those (and inside a post) it doesn’t display anything…
Hi,
how can I use your plugin in my sidebar?