2

After the latest update of WordPress version 5.9, I saw that there was a svg files added at the bottom of the page.

Can you please tell me, how to remove this?

What's the use of it?

enter image description here

8
  • 3
    This is not a WP5.9 issue. Looking at two other sites that are updated to 5.9, no SVG is present in the footer. Likely, your theme, a plugin or some other code specific to your site is adding those SVGs.
    – jdm2112
    Commented Jan 27, 2022 at 15:01
  • 1
    Really? But all my sites are impacted, and I had never seen this before the latest update. I request you to dig deeper. Commented Jan 27, 2022 at 15:44
  • 1
    Read this, since version 5.8 the WP is adding junk in the footer. wordpress.org/support/topic/disabling-gutenberg-duotone-filter And there is no way to remove it. Commented Jan 29, 2022 at 5:31
  • 1
    @Pixelsmith I am using custom theme named Jargon - you can find it my website: theidioms.com Commented Jan 29, 2022 at 5:33
  • 1
    Guys, this issue is related to theme.json file Commented Jan 29, 2022 at 5:35

1 Answer 1

3

I've got the answer. Create a new file in the root of your theme with the name theme.json

Add and save the following code into it:

{
    "version": 1,
    "settings": {
        "color": {
            "duotone": null
                }
        }
}
2
  • 1
    Guys, please like my topic and answer so I can accept it as an answer and it will help others too. Commented Jan 29, 2022 at 5:45
  • You should be able to accept it as an answer now. I think there's just a two-day timeout for accepting your own answers, which is now passed.
    – Rup
    Commented Jan 31, 2022 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.