WordPress ‘get_archives’ function is used to display archives list on date wise. It can be include annoyware in a template.
Function Usage
<?php php wp_get_archives( $args ); ?> |
Default Usage
<?php $args = array( 'type' => 'monthly', 'limit' => '', 'format' => 'html', 'before' => '', 'after' => '', 'show_post_count' => false, 'echo' => 1, 'order' => 'DESC' ); ?> |