} else { echo '<img width="150" height="100" src="img/default-thumbnail.jpg" />'; } ?> <?php the_excerpt(); ?> <?php } ?> </div> <div class="entry-sidebar"> <h3>Categories</h3> <?php $cat_list = get_my_category_list(); echo $cat_list; ?> <div class="meta">Available in: <?php echo get_field('formats'); ?> <br /> <?php if (get_field('datagov_availability')) { ?> Available on <a href="http://explore.data.gov/d/<?php the_field('datagov_id'); ?> ">Data.gov</a></div> <?php }
</div><!-- .entry-meta --> </header><!-- .entry-header --> <div class="ui segment"> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'semantic-ui-wp-theme'), 'after' => '</div>')); ?> <!-- </div> --><!-- .entry-content --> <div class="ui bottom attached label"> <?php /* translators: used between list items, there is a space after the comma */ $category_list = get_my_category_list(__(' ', 'semantic-ui-wp-theme')); /* translators: used between list items, there is a space after the comma */ $tag_list = get_my_tag_list('', __(' ', 'semantic-ui-wp-theme')); if (!semantic_ui_wp_theme_categorized_blog()) { // This blog only has 1 category so we just need to worry about tags in the meta text if ('' != $tag_list) { $meta_text = __('This entry was tagged %2$s. Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'semantic-ui-wp-theme'); } else { $meta_text = __('Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'semantic-ui-wp-theme'); } } else { // But this blog has loads of categories so we should probably display them here if ('' != $tag_list) { #$meta_text = '<i class="icon sitemap"></i>' . __( ' %1$s and tagged %2$s. Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'semantic-ui-wp-theme' ); $meta_text = __('<i class="icon open folder outline"></i> %1$s <i class="icon tags"></i> %2$s <i class="icon empty bookmark"></i> <a href="%3$s" rel="bookmark">permalink</a>.', 'semantic-ui-wp-theme'); } else {