• Hi,

    I have a problem with one particular post on our church website. Going to our Blog page ( https://www.crichbaptist.org/crich-baptist-blog/ ), there is an image which displays on the post ( https://www.crichbaptist.org/j-c-ryle/ ), on this post the image size and placement is different. The actual post is correct, but try whatever I might I cannot remove the image from the Blog summary page.

    Right clicking on the unwanted image, and using the ‘Inspect Element’ option I can see a section of code that does not appear in the post when viewing it through the Text Editor’. When I highlight that particular section of code from within the ‘Inspect Element’ option and then delete it, that corrects the problem. However, that does not edit the actual post of course, it’s just letting me see where the problem lies.

    So, how do I resolve this? Is the only option to delete the post and do it again? Or is there a less painful solution?

    Any thoughts?

    Alan

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello Alan,
    I was listing your blog and noticed that the post you named here is the only post that has the featured image, try making another one and set a featured image to it so you can check if it does the same thing. It could be that your themes code displays the featured image on the post page before the post’s content, if that is the case you will need to edit single.php file to remove the line of code that displays the featured image in post content.

    Or I might have missunderstood your question, maybe the fix for your problem is to just remove the featured image from that post. Let me know if you have any other questions.

    Thread Starter crichbaptist

    (@crichbaptist)

    Hi,

    Taking your first reply – I just added a new Test Post, set a featured image and got exactly the same problem! So it would seem your suggestion for solving the issue could be the answer – the only problem is that on checking the actual post itself there is ‘No featured image’.

    As far as your second response is concerned, with the new Test Post I did set a featured image and got the same problem as I said. However, when I ‘Removed’ the featured image from the test post, and the just added a normal left-aligned image everything was perfect.

    I am grateful for your help with this, so further thoughts would be much appreciated.

    Many thanks,

    Alan

    Try going to the actual post if it doesn’t have any featured image then add one and save the post. Now edit it again and remove the featured image you just added, see if this fixes it since you said that it did the same thing on the test post when you added a featured image.

    Thread Starter crichbaptist

    (@crichbaptist)

    I tried what you suggested, but the offending image is still there. It’s so frustrating to right-click on the image, and be able see the code that is causing the problem, but to then be unable to edit it out when I’m using the Text View in the WordPress editor.

    Do you have any further thoughts for me to try – before I delete the post and do it again?

    Regards,

    Alan

    Well the only thing I can suggest you is to edit the singe.php file and remove the line that adds the featured image to the post, however I advise you not to do it yourself since you have no knowledge in php.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error displaying different image in Blog summary & actual post’ is closed to new replies.