Advertisement
villers

Untitled

Feb 24th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.58 KB | None | 0 0
  1. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  2.     <div class="col s12 m12">
  3.         <div class="icon-block">
  4.             <?php
  5.             if ( is_single() ) :
  6.                 the_title( '<h5 class="center">', '</h5>');
  7.             else :
  8.                 the_title( sprintf( '<h5 class="center"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h5>' );
  9.             endif;
  10.             ?>
  11.  
  12.             <p class="light">
  13.             <?php
  14.                 the_content(sprintf(__('Continue reading %s', 'twentyfifteen' ), the_title( '<span class="screen-reader-text">', '</span>', false )));
  15.                 wp_link_pages( array(
  16.                     'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
  17.                     'after'       => '</div>',
  18.                     'link_before' => '<span>',
  19.                     'link_after'  => '</span>',
  20.                     'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
  21.                     'separator'   => '<span class="screen-reader-text">, </span>',
  22.                 ));
  23.             ?>
  24.             </p>
  25.             <?php
  26.                 if ( is_single() && get_the_author_meta( 'description' ) ) :
  27.                     get_template_part( 'author-bio' );
  28.                 endif;
  29.             ?>
  30.  
  31.         </div>
  32.         <div class="right">
  33.  
  34.         <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
  35.         </div>
  36.  
  37.     </div>
  38.     <hr>
  39. </article>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement