-
Pet Projects
Monthly Archives: August 2011
The example shows that I sort posts with custom field “Start Date”. I am using ‘meta_query’ to query the custom fields – you can find out more here. $args[’post_type’] = array(’ur_post’, ‘programs_post’, ‘education_post’, ‘blog_post’ ); $args[’meta_key’] = ‘Start Date’; $args[’meta_query’] … Continue reading
Posted in General
Tagged custom fields, get_post_custom_values, meta_key, meta_query, Wordpress, WP_Query
Leave a comment