I already have managed to show the blogs with title (link) and description, using the last example on the Codex entry.:
/* List all blogs, source example 2: http://codex.wordpress.org/Function_Reference/get_terms#Examples */
$args = array( 'taxonomy' => 'blog', 'orderby' => 'name', 'order' => 'ASC', 'fields' => 'all' );
$terms = get_terms('blog', $args);
$count = count($terms); $i=0;
if ($count > 0) {
foreach ($terms as $term) {
$i++;
$term_list .= '<article class="blog-list"><p><a href="' . get_home_url() . '/blog/' . $term->slug . '/" title="' . sprintf(__('View all articles in %s Blog', 'wys'), $term->name) . '">' . $term->name . '</a></p><p>' . $term->description . '</p>';
if ($count != $i) $term_list .= '</article>'; else $term_list .= '';
}
echo '<div class="my_term-archive">' . $term_list . '</div>';
}
The code I used to show the image on the blog taxonomy archive comes straight from Rilwis' website (all the way at the bottom).:
$queried_object = get_queried_object();
$term_id = $queried_object->term_id;
$meta = get_option('blog_image'); //meta_id
if (empty($meta)) $meta = array();
if (!is_array($meta)) $meta = (array) $meta;
$meta = isset($meta[$term_id]) ? $meta[$term_id] : array(); //term_id
$images = $meta['blogimg']; //field_id
foreach ($images as $att) {
// get image's source based on size, can be 'thumbnail', 'medium', 'large', 'full' or registed post thumbnails sizes
$src = wp_get_attachment_image_src( $att, 'thumbnail' );
$src = $src[0];
// show image
echo '<figure class="thumb alignleft"><img src="' . $src . '" alt="image" /></figure>';
}
echo '<div class="archive-meta">';
$description = term_description();
if ( $description ) { // Show Blog taxonomy term description
echo $description;
} //endif
$meta = get_option('blog_image'); //meta_id
if (empty($meta)) $meta = array();
if (!is_array($meta)) $meta = (array) $meta;
$meta = isset($meta[$term_id]) ? $meta[$term_id] : array(); //term_id
$value = $meta['blog_authors']; //field_id
echo '<p class="blog-authors">' . __( 'Author(s): ', 'wys' ) . $value . '</p>'; // if you want to show
echo '</div>';
The difficulty to do this on the homepage too is that I seem to have to combine two foreach calls and that is a little bit too complex territory for me.