<div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages(array('before' => __('<p class="pagination-p">Pages:</p>', 'ipt_kb') . '<ul class="pagination">', 'after' => '</ul><div class="clearfix"></div>')); ?> </div><!-- .entry-content --> <footer class="entry-meta text-muted well well-sm"> <?php /* translators: used between list items, there is a space after the comma */ $category_list = get_the_category_list(__(', ', 'ipt_kb')); /* translators: used between list items, there is a space after the comma */ $tag_list = get_the_tag_list('', __(', ', 'ipt_kb')); if (!ipt_kb_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 <i class="glyphicon glyphicon-tags"></i> %2$s. <br />Bookmark the <i class="glyphicon glyphicon-bookmark"></i> <a href="%3$s" rel="bookmark">permalink</a>.', 'ipt_kb'); } else { $meta_text = __('Bookmark the <i class="glyphicon glyphicon-bookmark"></i> <a href="%3$s" rel="bookmark">permalink</a>.', 'ipt_kb'); } } else { // But this blog has loads of categories so we should probably display them here if ('' != $tag_list) { $meta_text = __('This entry was posted in <i class="glyphicon glyphicon-folder-open"></i> %1$s and tagged <i class="glyphicon glyphicon-tags"></i> %2$s. <br />Bookmark the <i class="glyphicon glyphicon-bookmark"></i> <a href="%3$s" rel="bookmark">permalink</a>.', 'ipt_kb'); } else { $meta_text = __('This entry was posted in <i class="glyphicon glyphicon-folder-open"></i> %1$s. <br />Bookmark the <i class="glyphicon glyphicon-bookmark"></i> <a href="%3$s" rel="bookmark">permalink</a>.', 'ipt_kb'); } } // end check for categories on this blog
the_permalink(); ?> " class="btn btn-primary"><i class="glyphicon glyphicon-link"></i> <?php _e('Read more', 'ipt_kb'); ?> </a> </p> <p class="text-muted hidden-xs meta-data"> <?php if ('post' == get_post_type()) { // Hide category and tag text for pages on Search ?> <?php /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list(__(', ', 'ipt_kb')); if ($categories_list && ipt_kb_categorized_blog()) { ?> <span class="cat-links"> <i class="glyphicon glyphicon-folder-open"></i> <?php printf(__('Posted in %1$s', 'ipt_kb'), $categories_list); ?> </span> <?php } // End if categories ?> <?php /* translators: used between list items, there is a space after the comma */ $tags_list = get_the_tag_list('', __(', ', 'ipt_kb')); if ($tags_list) {