Feature image not shown in posts
-
Hi guys, I’m really struggling with this one. I’ve found a former post about this subject and I have exactly the same problem:
I do not really understand what to do, because I don’t have enough css experience. I have the same problem in the Appetite Theme. When I send out my post and look at it by email and only insert a feature image, it is not showing. Now I have found a very devious way to avoid that, but does not work when I need to schedule a post. Can anyone please help me where to put the css class code in my image and which code to use. I think that I have to put this code:
.entry-content .hide-featured{
display: none;
}in my css customization, is this correct?
Many thanks in advance!
The blog I need help with is: (visible only to logged in users)
-
Hi there,
The idea is that you put your featured image as an image inside your post and not as a featured image. As the topic in the link describes, if you don’t want the featured image to be displayed in the post, you would need to add the settings above in your image CSS class. To do this please visit this link: https://en.support.wordpress.com/images/image-settings/#advanced-options -
Dear carladoria, thank you for your response, but it’s not actually what I mean, but maybe I’ve explained it wrong, if so sorry for that. I have the same issue as Member Akireburbar from his post, he says: ‘My featured image is not included in the email that subscribers to my blog receive. All other images in the post *are* included – just not the featured image. This tells me that the problem isn’t on the recipient’s end – it’s got something to do with how WordPress.com is sending out the email. My featured images are often critical content. ‘Usually my featured image is what the whole post is about. Usually the text is just to “fill out the story”. But drawing cartoons as I sometimes do, it’s entirely possible I might make a blog post that’s ONLY a featured image. Will people then get a blank email?
Same problem here!
In my theme my feature image is very important because it makes a thumbnail on my homepage from it and if you click on it on the post itself the header is now the feature image. Otherwise if I do not use a feature image all my post will appear in original format on the homepage and the headers will not appear with the feature image. And that is not what I want. I want thumbnails. What I do now is as follow: I use a feature image, some text than use the same image(as my feature) again in my post and than send it. After it is send, I immediately change it(update), after my text and picture, so in between the two I make a ‘more’ tag and then the feature image will appear as a thumbnail only on my homepage. Otherwise if I don’t change it and send a feature and an original picture in a post. Then 2 of the same images, one thumbnail and one original picture will appear on my homepage, which looks not nice. I hope you still follow this, because it is a very devious way and I am in no way an expert as you may notice. I hope you understand what I mean. Feature images are very important for my theme. And I often only use one image, because I create collages and like to display them. -
-
@edesignhome, I’ve done some testing with various themes, and also chatted with our developers and the featured image, even though you set it in the post editor, it is technically not part of the post content, so it is not shown.
I do have a workaround for you. First off, add the following CSS to your custom CSS and save.
.single .hide-img { display: none; }When you write your post, set your featured image and then add the same featured image as a centered, full-size image at the top of your post content. After inserting the image into the post, click on the image to edit it and in the CSS class field under Advanced Options, type
hide-img
and update the image and finish your post and publish it. The featured image you have inserted into the post content is hidden on single posts on your site where you have added the CSS class, but will show up at the top of the post content in the notification emails. -
@thesacredpath, thank you so much for helping me and all the effort you did. It it a strange issue on WP. This should work than. I’m going to try it out.
great thanks!!
-
You are welcome. Let me know if you have any issues. It is still something that is under discussion as to whether to include the featured image or not.
-
-
- The topic ‘Feature image not shown in posts’ is closed to new replies.