pedmands

page-about1.php

Oct 7th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.01 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Template part for displaying page content in page.php.
  4.  *
  5.  * @link https://codex.wordpress.org/Template_Hierarchy
  6.  *
  7.  * @package Lance
  8.  */
  9.  
  10. ?>
  11.  
  12. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  13.     <div class="billboard-wrap">
  14.         <?php the_post_thumbnail('billboard',array( 'class' => 'billboard' ) ); ?>
  15.     </div>
  16.     <div class="page-content">
  17.         <?php
  18.             the_content();
  19.  
  20.             wp_link_pages( array(
  21.                 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'lance' ),
  22.                 'after'  => '</div>',
  23.             ) );
  24.         ?>
  25.     </div><!-- .entry-content -->
  26.  
  27.     <?php if ( get_edit_post_link() ) : ?>
  28.         <footer class="entry-footer">
  29.             <?php
  30.                 edit_post_link(
  31.                     sprintf(
  32.                         /* translators: %s: Name of current post */
  33.                         esc_html__( 'Edit %s', 'lance' ),
  34.                         the_title( '<span class="screen-reader-text">"', '"</span>', false )
  35.                     ),
  36.                     '<span class="edit-link">',
  37.                     '</span>'
  38.                 );
  39.             ?>
  40.         </footer><!-- .entry-footer -->
  41.     <?php endif; ?>
  42. </article><!-- #post-## -->
Add Comment
Please, Sign In to add comment