WordPress.org

Support

Support » Themes and Templates » Weekly archive shows posts from the entire year.

Weekly archive shows posts from the entire year.

  • I’m using the following in my template to display a year’s worth of weekly archives:

    <?php wp_get_archives( array( 'type' => 'weekly', 'limit' => 52 ) ); ?>

    and it displays the weekly links nicely enough, but clicking on a link returns every post for that year, starting with the latest available post for that year. (e.g., any 2013 week will return all 2013 posts, any 2012 week will return all 2012 posts, etc). What am I doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Weekly archive shows posts from the entire year.’ is closed to new replies.
Skip to toolbar