Post thumbnail (featured image) not displaying
-
I’m hoping an admin may recognize what the issue is. I have 2 custom queries in the theme I built for recent posts, plus I added support for post-thumbnails in my functions file but they are not displaying. I used the plugin to migrate my live site down to my localhost project folder which is setup using XAMPP.
I was watching a video on how to use the plugin and I first used
git clone
to pull my theme down into the themes folder. But then all the files got replaced once the plugin worked, so I had to delete the folder and usegit clone
again. I don’t think that is relevant but I wanted to share that detail.Anyway, the featured image (post-thumbnail) does not display in the recent posts cars I have on the home page, at the bottom of my posts, on the main blog page or in the actual blog posts. Here is an interesting point: I went into one of my posts because I noticed the featured images missing. The featured image link was in the editor at the bottom with a link to add a featured image. I clicked it, selected the image from the library but it was not added. I think the link was still there to add it so I clicked it again and then it went away???
The link above is to my Home page and the recent posts cards are at the bottom.
What creates that behavior? The link to set the image was there and then it disappeared. Everything looks good except for that feature:
add_theme_support( 'post-thumbnails' );
The page I need help with: [log in to see the link]
- The topic ‘Post thumbnail (featured image) not displaying’ is closed to new replies.