mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-14 15:11:06 +01:00
29 lines
1011 B
PHP
29 lines
1011 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>
|
|
<?php twentytwelve_entry_meta(get_the_ID()); ?>
|
|
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
|
|
</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 -->
|