Anybody have any idea on how to get only the page titles through a loop? I need something like:
if (have_pages()) : while (have_pages()): the_page_title();
Just like the default loop, except for page titles. I know wp_list_pages creates links, and that is not what I need. Should I use the wp_query to be doing this? I haven't seen anything out of the box with Wordpress to do this.
Thanks,
Adam