Advertisement
anotation

content-page.php

Jan 15th, 2015
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.54 KB | None | 0 0
  1.  
  2. <?php
  3. /**
  4.  * The template used for displaying page content in page.php
  5.  *
  6.  * @package ThemeGrill
  7.  * @subpackage Spacious
  8.  * @since Spacious 1.0
  9.  */
  10. /*
  11. Last footer class added by Anil to remove missing entry title..
  12. */
  13. ?>
  14.  
  15. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  16.     <?php do_action( 'spacious_before_post_content' ); ?>
  17.     <div class="entry-content clearfix">
  18.         <?php the_content(); ?>
  19.         <?php
  20.             wp_link_pages( array(
  21.             'before'            => '<div style="clear: both;"></div><div class="pagination clearfix">'.__( 'Pages:', 'spacious' ),
  22.             'after'             => '</div>',
  23.             'link_before'       => '<span>',
  24.             'link_after'        => '</span>'
  25.       ) );
  26.         ?>
  27.     </div>
  28.     <footer class="entry-meta-bar clearfix">                       
  29.         <div class="entry-meta clearfix">
  30.         <?php edit_post_link( __( 'Edit', 'spacious' ), '<span class="edit-link">', '</span>' ); ?>
  31.         </div>
  32.     </footer>
  33.     <?php
  34.     do_action( 'spacious_after_post_content' );
  35.    ?>
  36. </article>
  37.  
  38.  
  39.  
  40. <footer class="entry-meta-bar clearfix">                       
  41.         <div class="entry-meta clearfix">
  42.         <span class="by-author author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php the_author(); ?></a></span>
  43.         <span class="by-author author vcard"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_the_time() ); ?>"><?php the_time( get_option( 'date_format' ) ); ?></a></span>
  44.         <?php edit_post_link( __( 'Edit', 'spacious' ), '<span class="edit-link">', '</span>' ); ?>
  45.         </div>
  46. </footer>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement