How to display featured image inside pages in Zelle

By default, Zelle doesn't show featured images inside your pages but it can be done with few lines of code. Make sure to use a child theme before you make any changes.

Navigate to your zerif-pro/lite folder using FTP or Appearance > Editor, in your WordPress. From there you need to edit the content-page.php file.

You need to place the following code just after </header><!-- .entry-header --> tag:

<?php
if ( has_post_thumbnail() ) {
    the_post_thumbnail('full');
}
?>

Save the changes, and you're good to go!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.