Duplicate Images

Hi there

I contacted you a few weeks ago with this problem; it got resolved, but then came back. It got resolved again, and now it’s happening again, with images duplicating. Images don’t appear to be duplicating under searches, but they are duplicating under category results (eg, see here). Can you tell me how to fix this please?
Thanks

Hi,

It looks like you have modified the featured image code.

Can you share to us the code in your child theme functions.php file so we can check what is causing the issue.

Thanks

Hi again,

Thank you for sharing the code. You have too many custom functions in there, the code you shared is not formatted and most of the code lost the originality that’s why it’s kind a difficult to get an idea. I’d suggest you to try disabling the custom function that is related to archive page customization.

In the mean time you can use CSS work around to remove the duplicated images by adding the following CSS code in the Theme Options > CSS:

.entry-featured a:nth-child(2) {
    display: none;
}

Hope this helps!

Thanks - how do I disable the custom function relating to the archive page customisation, where do I find it, and how do I establish what the custom function does (as I’m guessing it was put there for a reason?). Thanks

Hi there,

As this is some customization added to your site, we can’t really tell exactly which blocks of code you have to remove as just like you mentioned, they are added there for some reason. Please note that anything that involves custom code goes beyond the scope of our support.

If you have a developer that added those custom codes, it would be best to get in touch with then directly as they know the customizations added on your site.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.