File: /home/muoapartman/www/wp-content/themes/oceanica-lite/template-parts/content-page-full-width.php
<?php
/**
* Template part for displaying page content in full width page.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package oceanica-lite
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<?php oceanica_excerpt(); ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content();
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'oceanica-lite' ),
'after' => '</div>',
) );
if ( get_edit_post_link() ) :
edit_post_link(
sprintf(
/* translators: %s: Name of current post */
esc_html__( 'Edit %s', 'oceanica-lite' ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
),
'<div class="clear"></div><p class="edit-link">',
'</p>'
);
endif; ?>
</div><!-- .entry-content -->
<?php if ( get_page_template_slug( $post->ID ) === 'template-full-width-grid-page.php' ) {
oceanica_child_pages_list();
}
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif; ?>
</article><!-- #post-## -->