Files

33 lines
893 B
PHP

<?php
/**
* Page content.
*
* @package Gustavo_Portfolio
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'page-article' ); ?>>
<header class="page-article__header">
<p class="eyebrow"><?php esc_html_e( 'Página', 'gustavoo-portfolio' ); ?></p>
<?php the_title( '<h1 class="page-article__title">', '</h1>' ); ?>
</header>
<?php if ( has_post_thumbnail() ) : ?>
<figure class="page-article__media">
<?php the_post_thumbnail( 'full', array( 'class' => 'page-article__image' ) ); ?>
</figure>
<?php endif; ?>
<div class="entry-content prose">
<?php the_content(); ?>
<?php
wp_link_pages(
array(
'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Páginas deste conteúdo', 'gustavoo-portfolio' ) . '"><span>' . esc_html__( 'Páginas:', 'gustavoo-portfolio' ) . '</span>',
'after' => '</nav>',
)
);
?>
</div>
</article>