Here’s the code to add to your archive template, e.g. archives.php.
<h2>Last 50 Posts:</h2> <ul> <?php wp_get_archives( array( 'type' => 'postbypost', 'limit' => 50, 'format' => '', 'before' => '<li>', 'after' => '</li>' )); ?> </ul> |
cloud engineer
Here’s the code to add to your archive template, e.g. archives.php.
<h2>Last 50 Posts:</h2> <ul> <?php wp_get_archives( array( 'type' => 'postbypost', 'limit' => 50, 'format' => '', 'before' => '<li>', 'after' => '</li>' )); ?> </ul> |
<h2>Last 50 Posts:</h2> <ul> <?php wp_get_archives( array( 'type' => 'postbypost', 'limit' => 50, 'format' => '', 'before' => '<li>', 'after' => '</li>' )); ?> </ul>