WP Post View1

if ( $blog_author || $blog_date || $show_comments_number ) {
        $meta .= '<p class="meta">';
        if ( $blog_date ) $meta .= esc_html( date_i18n( $date_format, strtotime( get_the_time( 'Y-m-d' ) ) ) ); 
        if ( $blog_date && $blog_author ) $meta .= ' — ';
        if ( $blog_author ) $meta .= '<span class="visitas">' . $blog_number_visits . ' </span>';
        if ( ( $blog_date || $blog_author ) && $show_comments_number ) $meta .= ' — ';
        if ( $show_comments_number ) $meta .= '<span class="commentCount"><a href="' . esc_url( $permalink ) . '#comments">' . $comments_number . '</a></span>';
        $meta .= '</p>';
    }
Brave Bird