The MU forums have moved to

wp_get_archives (1 post)

  1. sollers
    Posted 14 years ago #



  2. <?php wp_get_archives('type=postbypost&limit=10'); ?>
  3. '

    Why does this function return empty a href with URL of blog and no text.

    Other entries are fine, but first appears as empty.

    Output is like this:

    -latest post 1
    -latest post 2
    -latest post 3

    I only need latest 10 posts on current blog, without this first empty line.

    Thank you for ideas!

About this Topic