Display your archives in collapsible mode using ajax and jQuery.
Each subnode is loaded via ajax as per user request, so not whole archive is loaded each time your archives page is displayed. If you have performance problems or server issues with other archive plugins, try this one and enjoy.
It also displays the post count for each year and for each month and the comment count for each post. And uses your current wordpress date_format to format the dates.
ajax-archivesentire folder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Now you can use
<?php ajaxar_get_years ();?>template tag to show the archive on your template.
- Or you can put
[ajaxar]under a page or post content that will be replaced by the archive.
You can use following css classes to style the list:
ul for years
ul for months
ul for posts
li year item
li month item
li post item
- Is this plugin compatible with wp-cache or other cache plugins?
It should be compatible because of ajax. But I don’t tested it!