Home / Files / content-page.php


Lines: 1 to 39 of 39

<?php

/**
 * The template used for displaying page content
 *
 * @package WordPress
 * @subpackage Twenty_Fifteen
 * @since Twenty Fifteen 1.0
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<?php
    // Post thumbnail.
    twentyfifteen_post_thumbnail();
  ?>

	<header class="entry-header">
		<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
	</header><!-- .entry-header -->

	<div class="entry-content">
		<?php the_content(); ?>
		<?php
      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>',
      ) );
    ?>
	</div><!-- .entry-content -->

	<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>

</article><!-- #post-## -->
 

 View on Trac

Called by

    Invoked by

      Calls

      1 to 7 of 7

      • edit_post_link() – Displays the edit post link for post.
      • post_class() – Display the classes for the post div.
      • the_content() – Display the post content.
      • the_ID() – Display the ID of the current item in the WordPress Loop.
      • the_title() – Display or retrieve the current post title with optional markup.
      • twentyfifteen_post_thumbnail() – Display an optional post thumbnail.
      • wp_link_pages() – The formatted output of a list of pages.

      Call hooks

      File name: content-page.php
      Plugin ref: Twenty Fifteen
      Version: 1.9
      Deprecated?: No
      API Letters: C,P

      Published: 10th March 2017 | Last updated: 10th March 2017

      Information

      File name: content-page.php
      Plugin ref: Twenty Fifteen
      Version: 1.9
      Deprecated?: No
      API Letters: C,P

      • Plugins
      • Themes
      • Shortcodes
      • APIs
      • Files
      • Hooks
      • Classes
      • Home
      • Sites
      • Sitemap
      • Blog
      oik-plugins WordPress a2z
      WordPress Dynamic API Reference

      Site:  wp-a2z.org
      © Copyright oik-plugins 2014-2018. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins