I'm sorting my posts alphabetically by Title, like so:
$posts = query_posts($query_string .
'&orderby=title&order=asc&posts_per_page=-1');
I'd like to exclude articles such as "the", "a", and "an" from the sorting criteria.
Is there a way to do that?
Thanks!
I would suggest a combination of PHP conditional statements and filters.
Thanks, but could you be more specific?
The closest I could figure out would be using raw SQL (http://www.arraystudio.com/as-workshop/how-to-sort-mysql-results-ignoring-definite-and-indefinite-articles-the-a-an.html), but I'm not sure how I'd do that in conjunction with the wordpress API.