Logic for Nearby places with post and categories

Could try a plugin called Geo mash up which turns WordPress into a GeoCMS, has nearby functionality built into it and can take long and lang values or addresses from custom fields. http://wordpress.org/extend/plugins/geo-mashup/ and try https://code.google.com/p/wordpress-geo-mashup/wiki/TagReference for the references.

Custom Metaboxes, multiple post selection

I’m not sure if select multiple value from the select box is what you want, but from a quick look at you code i would say you should put <select name=”‘.$field[‘id’].'[]” id=”‘.$field[‘id’].'”> instead of <select name=”‘.$field[‘id’].'” id=”‘.$field[‘id’].'”> since you want a multiple select. This is then a html problem, not a WP related.

I want to add a custom field in the rss title of each post, but don’t want it to be shown on the site

I’ve never actually tried this, but I think the following should work: function wpse_96096_append_author( $title, $post_id ) { if( is_feed() ) { $author = get_post_meta( $post_id, ‘{YOUR CUSTOM FIELD KEY}’, true ); $title = $title . ‘ by ‘ . $author; } return $title; } add_filter( ‘the_title’, ‘wpse_96096_append_author’, 10, 2 ); What this does is … Read more

Transfer taxonomy to custom field

You can order posts by custom taxonomy terms by adding a posts_clauses filter, see below answer: https://wordpress.stackexchange.com/a/14313/14499 Make sure that on functions.php you add both that function AND the call to add_filter(‘posts_clauses’, ‘orderby_tax_clauses’, 10, 2 );, otherwise it won’t work. Assuming annee is the custom taxonomy, this should then work: query_posts($query_string . ‘&posts_per_page=-1&orderby=annee&order=ASC’);