Comments on Post with featured image get attached to image and not post.
I have purchased a custom theme and was able to install it without major problems. I now have a very specific issue.
When I create a post the comment system works fine. However when I add a featured image to the post the comments get added to Image and not the post that the image is attached to.
I have narrowed it down (I think) to the fact that when trying to post a comment it assigns the comment_post_ID in WP’s wp-comments-post.php to the featured image and not the post the image is attached to. As soon as I remove the featured image from the post the comment get posted as normal (this is always possible when you reply to a comment on a post regardless if the post has a featured image or not).
I have no idea if this is a Theme issue, a general WordPress issue or something that accidentally got changed while I was customizing the theme. Support from the site I bought the theme from is rather slow so I thought I’d try here.
Seeing as I am relatively new to WordPress your assistance in this issue would be greatly appreciated!
- The topic ‘Comments on Post with featured image get attached to image and not post.’ is closed to new replies.