"; if ( $catIcon ) { $catHtml .= ""; } $catHtml .= "{$categories}"; } if ( in_array( 'post_date', $items ) && $date ) { $metaHtmltop .= ""; } if ( in_array( 'author', $items ) ) { $metaHtmltop .= ""; } $metaHtmltop .= $catHtml; if ( in_array( 'tags', $items ) && $tags ) { $metaHtmltop .= ""; } $num_comments = get_comments_number(); // get_comments_number returns only a numeric value if ( in_array( 'comment_count', $items ) && $comment ) { $metaHtmltop .= ''; if ( $metaIcon ) { $metaHtmltop .= ""; } $metaHtmltop .= $num_comments . ''; } if ( ! empty( $metaHtmltop ) && $metaPosition == 'above_title' ) { $titleHtml .= "
"; } if ( in_array( 'title', $items ) ) { $titleHtml .= sprintf( '<%1$s class="entry-title">%6$s%1$s>', $title_tag, $pID, $anchorClass, $pLink, $link_target, $title ); } $postMetaBottom = null; if ( in_array( 'read_more', $items ) ) { $postMetaBottom .= "{$read_more_text}"; } $html .= sprintf( '