Add Playwright coverage for inner page layout at all viewports
This commit is contained in:
@@ -22,13 +22,14 @@ if ( hasSidebar() ) {
|
||||
?>
|
||||
|
||||
<article class="<?php echo esc_attr( $classes ); ?>">
|
||||
<?php
|
||||
// Centered intro section between the hero and the body content.
|
||||
if ( get_field( 'intro' ) ) {
|
||||
get_template_part( 'views/partials/page-intro' );
|
||||
}
|
||||
?>
|
||||
<div class="entry-content <?php echo esc_attr( $clsEntry ); ?>">
|
||||
<?php
|
||||
// Centered intro section beneath the hero (rendered by header.php).
|
||||
if ( get_field( 'intro' ) ) {
|
||||
get_template_part( 'views/partials/page-intro' );
|
||||
}
|
||||
|
||||
// Page body content
|
||||
if ( have_posts() ) {
|
||||
while ( have_posts() ) {
|
||||
|
||||
Reference in New Issue
Block a user