Category in question - http://bodybackstory.com/before-and-after-weight-loss/
Right now you see 2 images for each post:
The first (cropped) image is the featured image. This is what I want to hide/remove from each post.
The second (bigger) image is one which has been manually inserted into each post and is being shown in the category listing because of a Read More tag.
I want to keep these images as featured images on most of the site because they are used as the source for thumbnails in related post functions.
How can I prevent each post's featured image from appearing in a category listing?
答案 0 :(得分:1)
您的精选图片似乎位于class="mediaBox image"
的div中。因此,您可以使用CSS隐藏它们,如下所示:
.mediaBox .image {
display: none;
}
希望这会有所帮助。