Support » How-To and Troubleshooting » wp_get_archives mixes posts and pages
9 years, 3 months ago
I want to have the last posts in my sidebar, and I have the following:
<?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