<footer class="entry-meta"> <?php stag_posted_on(); ?> <?php stag_post_reading_time(); ?> <?php edit_post_link(__('Edit', 'stag'), '<span class="edit-link">', '</span>'); ?> </footer> <?php if (stag_theme_mod('post_settings', 'post_categories') && stag_categorized_blog() && $categories_list) { ?> <div class="entry-categories"> <?php _e('In ', 'stag'); echo $categories_list; ?> </div> <?php } ?> </div> </div> <?php if ($caption != '') {
if (!stag_rcp_user_has_no_access()) { ?> <footer class="entry-footer"> <div class="grid"> <div class="unit <?php echo $grid_class; ?> "> <?php /* translators: used between list items, there is a space after the comma */ $category_list = get_the_category_list(__(', ', 'stag')); /* translators: used between list items, there is a space after the comma */ $tag_list = get_the_tag_list('', __(', ', 'stag')); $meta_text = ''; if (!stag_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 = __('Tags: %2$s', 'stag'); } } else { // But this blog has loads of categories so we should probably display them here if ('' != $tag_list) { $meta_text = __('Tags: %2$s / Category: %1$s', 'stag'); } else { $meta_text = __('Category: %1$s', 'stag'); } } // end check for categories on this blog printf($meta_text, $category_list, $tag_list); ?>