push changes, and removed comments
This commit is contained in:
12
404.php
12
404.php
@ -19,10 +19,10 @@ $sophia_after_dark_pnf_latest_posts = get_theme_mod( 'sophia_after_dark_enable_p
|
||||
<div class="error-num"><span><?php esc_html_e( 'Error', 'sophia-after-dark' );?> </span><?php esc_html_e( '404', 'sophia-after-dark' ); ?></div>
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'sophia-after-dark' ); ?></h1>
|
||||
</header><!-- .page-header -->
|
||||
</header>
|
||||
<div class="page-content">
|
||||
<p><?php esc_html_e( 'It looks like nothing was found at this location.', 'sophia-after-dark' ); ?></p>
|
||||
</section><!-- .error-404 -->
|
||||
</section>
|
||||
|
||||
<?php if ( true === $sophia_after_dark_pnf_latest_posts ) { ?>
|
||||
<div class="page-extra-content mt-404-latest-posts-wrapper">
|
||||
@ -49,16 +49,16 @@ $sophia_after_dark_pnf_latest_posts = get_theme_mod( 'sophia_after_dark_enable_p
|
||||
get_template_part( 'template-parts/content', 'related' );
|
||||
|
||||
}
|
||||
echo '</div><!-- .mt-pnf-latest-posts-wrapper -->';
|
||||
echo '</div>';
|
||||
}
|
||||
wp_reset_postdata();
|
||||
?>
|
||||
</div><!-- .page-extra-content -->
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</main><!-- #main -->
|
||||
</div><!-- #primary -->
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
get_footer();
|
Reference in New Issue
Block a user