Sort by custom field value
Have you tried hard-coding the category parameter for testing, and additionally trying different methods to set the query parameters.. Eg. query_posts( array( ‘category_name’ => ‘myname’, ‘meta_ke’ => ‘wpfp_favorites’, ‘orderby’ => ‘meta_value_num’ ) ); query_posts( array( ‘cat’ => N, ‘meta_key’ => ‘wpfp_favorites’, ‘orderby’ => ‘meta_value_num’ ) ); query_posts( array( ‘cat__in’ => array( N ), ‘meta_key’ => … Read more