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'); ?> </ul>
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