~ubuntu-branches/debian/sid/wordpress/sid

« back to all changes in this revision

Viewing changes to wp-content/themes/twentyfourteen/content-page.php

  • Committer: Package Import Robot
  • Author(s): Craig Small
  • Date: 2014-01-24 22:20:08 UTC
  • mfrom: (1.2.31)
  • Revision ID: package-import@ubuntu.com-20140124222008-wgyk0hvmhjkubf9i
Tags: 3.8.1+dfsg-1
* New upstream release.
* Depend on either mysql or mariadb client Closes: #732914

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * The template used for displaying page content
 
4
 *
 
5
 * @package WordPress
 
6
 * @subpackage Twenty_Fourteen
 
7
 * @since Twenty Fourteen 1.0
 
8
 */
 
9
?>
 
10
 
 
11
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
 
12
        <?php
 
13
                // Page thumbnail and title.
 
14
                twentyfourteen_post_thumbnail();
 
15
                the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' );
 
16
        ?>
 
17
 
 
18
        <div class="entry-content">
 
19
                <?php
 
20
                        the_content();
 
21
                        wp_link_pages( array(
 
22
                                'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
 
23
                                'after'       => '</div>',
 
24
                                'link_before' => '<span>',
 
25
                                'link_after'  => '</span>',
 
26
                        ) );
 
27
 
 
28
                        edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' );
 
29
                ?>
 
30
        </div><!-- .entry-content -->
 
31
</article><!-- #post-## -->