<?php /** * @package Minimalizine * @since Minimalizine 0.3-wpcom */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-meta"> <?php if ( has_post_format( 'image' ) || has_post_format( 'video' ) || has_post_format( 'aside' ) || has_post_format( 'quote' ) || has_post_format( 'link' ) ) : ?> <span class="post-format"> <a class="entry-format" href="<?php echo esc_url( get_post_format_link( get_post_format() ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'minimalizine' ), get_post_format_string( get_post_format() ) ) ); ?>"><?php echo get_post_format_string( get_post_format() ); ?></a> </span> <?php endif; //has_post_formats() ?> <span class="posted-on"> <?php minimalizine_posted_on(); ?> </span> <?php /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list( __( ', ', 'minimalizine' ) ); if ( $categories_list && minimalizine_categorized_blog() ) : ?> <span class="cat-links"> <?php echo $categories_list; ?> </span> <?php endif; // End if categories ?> <?php /* translators: used between list items, there is a space after the comma */ the_tags( '<span class="tags-links">', esc_html__( ', ', 'minimalizine' ), '</span>' ); ?> <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?> <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'minimalizine' ), __( '1 Comment', 'minimalizine' ), __( '% Comments', 'minimalizine' ) ); ?></span> <?php endif; ?> <?php edit_post_link( __( 'Edit', 'minimalizine' ), '<span class="edit-link">', '</span>' ); ?> </div><!-- .entry-meta --> <header class="entry-header"> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> <?php minimalizine_posted_by(); ?> </header><!-- .entry-header --> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'minimalizine' ), 'after' => '</div>' ) ); ?> </div><!-- .entry-content --> </article><!-- #post-<?php the_ID(); ?> -->