Viewing 5 replies - 1 through 5 (of 5 total)
  • <?php wp_get_archives('type=monthly'); ?>

    is supposed to display all existing months, I suppose.

    Thread Starter luftikus143

    (@luftikus143)

    Thanks. But I don’t want to list the months; I want to list (the content of) all entries for all months.

    Oh, I’m sorry for the misunderstanding. I suppose you want to have all posts to be listed at the index page. If that’s the case, do you have

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    in index.php? But you can see all posts by clicking on ‘archive’ anyway, can’t you?

    Thread Starter luftikus143

    (@luftikus143)

    I have that line of code in my file, yes. But as the URL indicated a “?m=2007”, it will display only those entries of the year 2007. But I want it to display all posts, no matter if they had been posted in 2006, 2007 or 2008…

    Thread Starter luftikus143

    (@luftikus143)

    Hmmm…. so no way that this could be done with something like

    ?m=2007+2008

    That would be pretty straightforward…

    Thanks for any suggestions…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘List 2 years archive – or last 12 months’ is closed to new replies.