I’m still fairly new to the creating WordPress Themes, I’m trying to include the post thumbnail with my loop but I’m running into an issue, and I tried searching for a solution but haven’t been able to find one.
I have enabled my theme to use post thumbnails and have used the call on my custom page but what is happening is if for some reason a post isn’t given a thumbnail it causes the post that does have a thumbnail to push up to the next recent article so for example if i have (most current post at the top):
Post 1 – no thumbnail
Post 2 – thumbnail
Post 3 – no thumbnail
Post 4 – thumbnail
it ends up displaying like:
Post 1 – thumbnail from post 2
Post 2 – no thumbnail
Post 3 – thumbnail from post 4
Post 4- no thumbnail
my code for the page is as follows:
Could someone point me in the right direction of how to correct this?
- The topic ‘Post Thumbnail Display Issue’ is closed to new replies.