[Resolved] Custom post types' featured image, title not appearing

Home Forums Support [Resolved] Custom post types' featured image, title not appearing

Home Forums Support Custom post types' featured image, title not appearing

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #909049
    Scrat

    As the title says – for some reason, the_content shows up in custom post types, but featured images and titles do not unless I specifically go into content-single-{post-type}.php and add the_post_thumbnail and comment out the conditional if ( generate_show_title() ) around the_title. So it looks like generate_before_content and generate_show_title are not firing, but I can’t for the life of me figure out why. Any help would be much appreciated!

    #909063
    Leo
    Staff
    Customer Support

    Hi there,

    Can you check if featured images are set to display with Single toggled here?
    https://docs.generatepress.com/article/adjusting-the-featured-images/

    Are you using any layout elements or functions to remove the title elsewhere?

    Let me know ๐Ÿ™‚

    #909073
    Scrat

    Hi Leo,

    The featured images are not disabled. I should have mentioned this in my earlier post, but the featured images are displaying successfully on the blog archives and the blog single posts.

    #909075
    Leo
    Staff
    Customer Support

    Any chance you can link us to the site in question?

    #909078
    Scrat

    Unfortunately, I can’t. It’s a live site I can’t push the changes to until it’s ready to go.

    #909079
    Scrat

    Well, I feel dumb. I did, in fact, have those two things disabled for those posts on the Elements page. So nevermind! All is well. Thank you!

    #909081
    Leo
    Staff
    Customer Support

    Glad you figured out ๐Ÿ™‚

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.