I would like to use a custom field "topic" to order Wordpress posts. This seems quite doable using 'orderby' => 'meta_value', 'meta_key' => 'topic' But I would also like to have a title of ...
It seems like stupid bug, but how can i order by title? It anyways orders by date! I'm using: query_posts( array( 'post_type' => 'page', 'posts_per_page' => -1, 'orderby' ...
I have full names as title posts and want to order it by the surname. How could i do this with wordpress? in PHP it would be along the lines of - SELECT * from posts ORDER BY ...