wp_get_archives mixes posts and pages (1 post)

  1. fesja
    Posted 8 years ago #


    I want to have the last posts in my sidebar, and I have the following:

    <ul class="entradasblog">
    <?php wp_get_archives('type=postbypost&limit=10&format=custom'); ?>

    I think it's ok, but something is wrong because in the list there are pages and posts (order by the date of course). I don't know how this is possible, but it's.

    Anybody knows what could be happening?

    Thanks a lot

    PD: I know I can use plugins, but before I change I'd want to know what it's wrong here

Topic Closed

This topic has been closed to new replies.

About this Topic