Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="col s12 m12">
- <div class="icon-block">
- <?php
- if ( is_single() ) :
- the_title( '<h5 class="center">', '</h5>');
- else :
- the_title( sprintf( '<h5 class="center"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h5>' );
- endif;
- ?>
- <p class="light">
- <?php
- the_content(sprintf(__('Continue reading %s', 'twentyfifteen' ), the_title( '<span class="screen-reader-text">', '</span>', false )));
- wp_link_pages( array(
- 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
- 'after' => '</div>',
- 'link_before' => '<span>',
- 'link_after' => '</span>',
- 'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
- 'separator' => '<span class="screen-reader-text">, </span>',
- ));
- ?>
- </p>
- <?php
- if ( is_single() && get_the_author_meta( 'description' ) ) :
- get_template_part( 'author-bio' );
- endif;
- ?>
- </div>
- <div class="right">
- <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
- </div>
- </div>
- <hr>
- </article>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement