How to display featured image inside posts in Zelle

By default, Zelle doesn't show featured images inside your posts 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 zelle-pro/lite folder using FTP or Appearance > Editor, in your WordPress. From there you need to edit the content-single.php file.

Add the following code:

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

Just above:

<?php the_content(); ?>

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

For pages, you'd do the same but instead edit the content-page.php file.

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

Still need help? Contact Us Contact Us