Hi,
I'm wondering if there's a way to query against pages matching a specific title pattern with the built in functions.
Say I have a bunch of pages that begin with an unique word I want to build a list of them.
I've spent a lot of time looking at the query_posts and WP_Query options documentation and related forum posts with no avail. Seems the only way to do it is with a match against the specific slug but I'm looking for something more like this which I know doesn't work although hopefully it gets the point across:
query_posts('pagename=word%');
I only need the title and permalink, so I have though about using wp_page_menu or wp_list_pages and passing then extracting only what I need out of it, but this seems like an ugly hack and pretty expensive if there's an easier way.
Any thoughts on how to achieve this type of result?
Thanks!