admin管理员组

文章数量:1334407

I am trying to add a post thumbnail so that when users land on my homepage queenmypawn, they see an image to the right of the text, like in the website /.

Currently my website doesn't do this. I tried using this guide: /. I added a featured image and the php code, but I am confused at this very stage:

To display featured images in your theme, you need to edit your templates and add this line of code where you want to display the featured image:

<?php the_post_thumbnail(); ?>

The files you add the above code in will vary based on your theme. You will want to add the code inside your post loop.

Which types of files are those?

I am trying to add a post thumbnail so that when users land on my homepage queenmypawn, they see an image to the right of the text, like in the website https://totalreporter/.

Currently my website doesn't do this. I tried using this guide: https://www.wpbeginner/beginners-guide/how-to-add-featured-image-or-post-thumbnails-in-wordpress/. I added a featured image and the php code, but I am confused at this very stage:

To display featured images in your theme, you need to edit your templates and add this line of code where you want to display the featured image:

<?php the_post_thumbnail(); ?>

The files you add the above code in will vary based on your theme. You will want to add the code inside your post loop.

Which types of files are those?

Share Improve this question asked Jun 16, 2020 at 19:56 Jossie CalderonJossie Calderon 1051 silver badge6 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

This post on the StudioPress forums mentions going to the Theme Settings in Genesis.

Inside the Content Archives, click the checkbox that says "Display the featured image?".

On doing so, the featured image pops up.

本文标签: imagesAdding Post Thumbnail to Metro Pro Theme