Black Friday Sale! Get up to $40 off GP Premium!Learn more

Reply To: Thumbnail on home page

Home Forums Support Thumbnail on home page Reply To: Thumbnail on home page

#184194
Tom
Lead Developer
Lead Developer

Hi Tony,

HTML inside the posts (like images) won’t show up when your blog is displaying excerpts. That’s because the excerpt function in WordPress strips out all HTML.

In order to have an image display with an excerpt, you need to upload a featured image: https://generatepress.com/knowledgebase/featured-images/

Then to hide it on the single page, add this CSS:

.page-header-image-single {
     display: none;
}
  • This reply was modified 4 years, 7 months ago by Tom.