Can anyone clarify difference between archive-{posttype}.php, type-{posttype} and date.php?

You should consider asking one question at a time. And lastly: is there a template to be created which outputs all the years and months of the custom post type with wp_get_archives()? Or do I have to create a different template to create them for each post-type? You mean like this: http://scribu.net/wordpress/smart-archives-reloaded

Populate a custom field dropdown with post titles by author

here: What you need is to create a meta box so first you use the add_meta_box() // Hook into WordPress add_meta_boxes action add_action( ‘add_meta_boxes’, ‘add_Businesses_custom_metabox’ ); /** * Add meta box function */ function add_Businesses_custom_metabox() { add_meta_box( ‘custom-metabox’, __( ‘Businesses’ ), ‘Businesses_custom_metabox’, ‘events’, ‘side’, ‘high’ ); } here you can see that i used “events” … Read more

Get_the_terms restrict output

you can change you code a bit : $taxonomy = ‘country’; $terms=get_the_terms($post->ID,$taxonomy); if($terms) { echo ‘<h1>Holiday ‘; $total_count = count($terms); $country_count = 1; foreach( $terms as $termcountry ) { if ($country_count = 1){ echo ‘in ‘.$termcountry->name; }else{ if ($total_count = 2){ echo ‘ And ‘.$termcountry->name; }else{ echo ‘, ‘.$termcountry->name; } } $country_count = $country_count + … Read more