mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-22 18:41:07 +01:00
34 lines
922 B
PHP
34 lines
922 B
PHP
<?php
|
|
/**
|
|
* The template used for displaying page content in page.php
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twelve
|
|
* @since Twenty Twelve 1.0
|
|
*/
|
|
?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<header class="entry-header">
|
|
<?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?>
|
|
<?php the_post_thumbnail(); ?>
|
|
<?php endif; ?>
|
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
|
</header>
|
|
|
|
<div class="entry-content">
|
|
<?php the_content(); ?>
|
|
<?php
|
|
wp_link_pages(
|
|
array(
|
|
'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ),
|
|
'after' => '</div>',
|
|
)
|
|
);
|
|
?>
|
|
</div><!-- .entry-content -->
|
|
<footer class="entry-meta">
|
|
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
|
|
</footer><!-- .entry-meta -->
|
|
</article><!-- #post -->
|