Morden: Add support for Featured Images on Pages

This commit is contained in:
Danny Dudzic 2021-02-24 22:31:37 +01:00
parent 82fefdc90c
commit cf9015630d

View file

@ -17,6 +17,10 @@
<?php get_template_part( 'template-parts/header/entry', 'header' ); ?>
</header>
<?php if ( true === get_theme_mod( 'show_featured_image_on_pages', false ) ) : ?>
<?php varia_post_thumbnail(); ?>
<?php endif; ?>
<div class="entry-content">
<?php
the_content();