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 badges1 Answer
Reset to default 0This 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
版权声明:本文标题:images - Adding Post Thumbnail to Metro Pro Theme 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742342840a2456949.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论