Getting urls of all wordpress posts - wp_get_archives?
Posted on 2011-09-21
I need to get a list of all my Wordpress post's urls, ie:
I have found I can use this:
<?php wp_get_archives('type=postbypost&limit=2000&format=custom'); ?>
In a template to get a full list of post titles that are linked to each post, but I don't need a link, I just need a list of the plain text (unlinked) permalink urls, one per line.
Can you show me how to do that?