Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter colinlam

    (@colinlam)

    Unfortunately the custom code removes all of the styling. I had developed my website with wordpress quite a few years ago but redesigned it in an offline editor which used css and JS for much of the style and effects. When I saw the release of version 5.9 with FSE I then redesigned my website using those tools.

    If I now use those codes, in order to remove the svg bloatware, all the styling is lost?

    To be honest, my website is now pretty static with no bells and whistles unlike my more dynamic old website. I thought I was making a step forward?

    Am I missing something?

    Thanks

    • This reply was modified 2 years, 9 months ago by colinlam.
    Thread Starter colinlam

    (@colinlam)

    Hi Ana.
    Yes. Well, on my test site I removed all the social icons and buttons and deactivated all plugins, then activated theme twentytwenty. When I view the code there is no svg code. If I then use a block theme there is lots of svg code.

    To my limited knowledge svg is part of document markup and was always considered to be a security risk.

    I don’t see why it is necessary for website design having used jpeg and png for years with no visual issues. Vector graphics are a blessing in magazine design but simply not required for website display in my opinion.

    Its a bit like bloatware hahaha.

    I would like to remove it all so I better talk to wordpress.

    Have a good day Ana.
    Col

    Thread Starter colinlam

    (@colinlam)

    Another link just after the body tag
    “<svg xmlns=”https://www.w3.org/2000/svg&#8221; viewBox=”0 0 0 0″ widt”

    Having live HTTP links in the html will probably affect SEO.

    What’s your thoughts?
    Thanks
    Col

    • This reply was modified 2 years, 9 months ago by colinlam.
    Thread Starter colinlam

    (@colinlam)

    Hi Ana,
    The example I gave was not actually a link but was within the html of the page.

    However I have found live links within the page that are http such as <svg xmlns=”https://www.w3.org/2000/svg&#8221; viewBox=”0 0 24 24″ …………………….

    This is in the button class for instance “<button aria-label=”Close menu” data-micromodal-close class=”wp-block-navigation__responsive-container-close”><svg xmlns=”https://www.w3.org/2000/svg&#8221; ”

    Is that code in your theme?

    My website built with your theme is https://tayit.co.uk

    Col

    • This reply was modified 2 years, 9 months ago by colinlam.
    • This reply was modified 2 years, 9 months ago by colinlam.
    • This reply was modified 2 years, 9 months ago by colinlam.
    • This reply was modified 2 years, 9 months ago by colinlam.
    Thread Starter colinlam

    (@colinlam)

    I found the answer from heycam on github

    “XML namespace URLs are really opaque identifiers. The fact that some namespace URLs under w3.org resolve to a page describing them is a convenience. (You might be able to argue for DTD URLs to be updated, since in some XML parsers, those URLs will actually be fetched. But in practice, SVG User Agents don’t operate their XML parsers in validating mode, and so never need to use that URL.)”

    So, it doesn’t appear to be an issue because the http is not an active link. However some SEO checks will tell you your website has mixed content due to the http.

    I think its safe to ignore this warning.
    Cheers

    • This reply was modified 2 years, 9 months ago by colinlam.
    Thread Starter colinlam

    (@colinlam)

    An update.

    On this clean install one of the files is a core file wp-admin/errorlog.file
    All the rest are theme files for themes 2020, 2021 and 2022

    All my other websites may have some files left over from plugin uninstalls over the years and database entries that were not deleted but pose no threat.

    Any ideas on the way forward.
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)