/**
  * Prints HTML with meta information for the categories, tags and comments.
  */
 function undersoressass_entry_footer()
 {
     // Hide category and tag text for pages.
     if ('post' === get_post_type()) {
         /* translators: used between list items, there is a space after the comma */
         $categories_list = get_the_category_list(esc_html__(', ', 'undersoressass'));
         if ($categories_list && undersoressass_categorized_blog()) {
             printf('<span class="cat-links">' . esc_html__('Posted in %1$s', 'undersoressass') . '</span>', $categories_list);
             // WPCS: XSS OK.
         }
         /* translators: used between list items, there is a space after the comma */
         $tags_list = get_the_tag_list('', esc_html__(', ', 'undersoressass'));
         if ($tags_list) {
             printf('<span class="tags-links">' . esc_html__('Tagged %1$s', 'undersoressass') . '</span>', $tags_list);
             // WPCS: XSS OK.
         }
     }
     if (!is_single() && !post_password_required() && (comments_open() || get_comments_number())) {
         echo '<span class="comments-link">';
         comments_popup_link(esc_html__('Leave a comment', 'undersoressass'), esc_html__('1 Comment', 'undersoressass'), esc_html__('% Comments', 'undersoressass'));
         echo '</span>';
     }
     edit_post_link(sprintf(esc_html__('Edit %s', 'undersoressass'), the_title('<span class="screen-reader-text">"', '"</span>', false)), '<span class="edit-link">', '</span>');
 }
Example #2
0
?>
		<?php 
the_title(sprintf('<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h2>');
?>

		<?php 
if ('post' === get_post_type()) {
    ?>
		
		<?php 
}
?>
		<?php 
/* translators: used between list items, there is a space after the comma */
$category_list = get_the_category_list(__(', ', 'undersoressass'));
if (undersoressass_categorized_blog() && is_front_page()) {
    echo '<div class="category-list">' . $category_list . '</div>';
}
?>
		<div class="entry-meta">
			<?php 
echo get_the_tag_list('<ul><li><i class="fa fa-check-square-o"></i>', '</li><li><i class="fa fa-check-square-o"></i>', '</li></ul>');
?>
		</div><!-- .entry-meta -->
	</header><!-- .entry-header -->

	<?php 
if ($wp_query->current_post == 0 && !is_paged() && is_front_page()) {
    echo '<div class="entry-content">';
    the_content(__('', 'undersoresass'));
    echo '</div>';
	<?php 
if (has_post_thumbnail()) {
    echo '<div class="single-post-thumbnail clear">';
    echo the_post_thumbnail('large-thumb');
    echo '</div>';
}
?>
	<header class="entry-header">
		<?php 
the_title('<h1 class="entry-title">', '</h1>');
?>
		<?php 
/* translators: used between list items, there is a space after the comma */
$category_list = get_the_category_list(__(', ', 'undersoressass'));
if (undersoressass_categorized_blog()) {
    echo '<div class="category-list">' . $category_list . '</div>';
}
?>
<div class="entry-meta">
	<h3 class="skills">Skills:</h3>
			<?php 
echo get_the_tag_list('<ul><li><i class="fa fa-check-square-o"></i>', '</li><li><i class="fa fa-check-square-o"></i>', '</li></ul>');
?>
		</div><!-- .entry-meta -->
		
	</header><!-- .entry-header -->
		
	<div class="entry-content">
		<?php 
the_content();