Thanks to Ajay and Carsten for pointing out the huge amount of queries that KG Archives V1.2 is generating. This is due to nested queries and permalinks fetching for the posts. I have now fixed the issue and is now only generating 4 queries and the permalinks are no longer fetched using WP’s get_permalink function. Instead, I have embed the function’s code into mine taking out the db calls to get the posts.
Anyway, version 1.3 can be downloaded at http://katesgasis.com/downloads/kgarchives-1_3.zip.
This time the archives page must have a slug of “archives” so that the plugin will not generate queries if not in the archives page.
Installation
- 1. Uploade the kgarchives.php file to your plugins directory (/wp-content/plugins).
- 2. Activate the plugin in the admin panel.
- 3. Create a new page. Name it anything but make sure the slug is labeled as “archives”.
- 4. On the page content, put the tags <!−−KGSortForm−−> and <!−−KGSortArch−−>.
May 29th, 2005 at 3:59 am
Cool, thanks I’ll try it out…
I did like your implementation better than the solution I am currently using.
May 29th, 2005 at 5:02 am
[...] faster and more efficient is available for download. Installation procedure can be viewed here. « Prev [...]
May 30th, 2005 at 11:24 am
[...] duced from 20+ seconds to below 1 second. Guess, it just doesn't agree with my site. KG Archives has been updated since this post to solve the above problem Thing [...]
May 31st, 2005 at 10:37 am
The new version is working much better, thanks!
One question though – is it possible to limit the default output to only the current month, with previous months being available via the selector form? This would cut down on page load/bandwith of sites with many posts. Thanks!
May 31st, 2005 at 11:11 am
Carsten has a good suggestion above.
What could be better is if you can make it customizable by passing variables or editting the plugin file.
May 31st, 2005 at 11:24 am
Carsten, Ajay:
Thanks for the suggestions. That, actually, was what is in my mind right now and I think it can be done. I’ll try.
April 3rd, 2006 at 8:29 am
Hi Kates,
After reviewing archiving plugins, I have downloaded KGArchives, as it looks nice. But I have problem in getting it work.
I have uploaded and activated in wp-content/plugins folder.
Then I created a Page named “Archives” and inside HTML window(WYSIWYG editor)inserted the following in the under given order.
After this I saved the page and click to view, but nothing comes on the scree, except a blank page.
Could you please look in and advice me. What is wrong there?
Thanks in advance!
Regards, DG…
April 3rd, 2006 at 10:11 am
@DG:
Do not use the WSYIWYG. Fire up the HTML source editor- it’s in the quicktags(HTML). Write the <kgarchives /> tag there.