remove redundant code HTML
-
Здравтсвуйте! скажите плагин Hide My WP Ghost может убирать ненужный код. К примеру моя тема встовляет это
<meta name=”generator” content=”Magazine News Byte Premium 2.9.22″ />я знаю что Hide My WP Ghost убирает generator который вставляет сам вордпресс, но вставку от темы он не убирает.
также можно задать эллементы которые мне ненужны и убрать их, вот пример
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap" /><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap" media="print" onload="this.media='all'" /><noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap" /></noscript> <link rel="preload" href="https://111/core/views/960b4ecbd7/library/fonticons/webfonts/fa-solid-900.woff2" as="font" crossorigin="anonymous"> <link rel="preload" href="https://2222/core/views/960b4ecbd7/library/fonticons/webfonts/fa-regular-400.woff2" as="font" crossorigin="anonymous">я не пользуюсь этими шрифтами, но тема их выводит в код хотя они мне ненужны, есть возможность удалить это ?
–Hello! tell the plugin Hide My WP Ghost can remove unnecessary code. For example my theme embeds this <meta name="generator" content="Magazine News Byte Premium 2.9.22" /> I know that Hide My WP Ghost removes the generator that WordPress itself inserts, but it does not remove the insert from the topic. you can also set elements that I don't need and remove them, here's an example<link rel=”preload” as=”style” href=”https://fonts.googleapis.com/css2?family=Lora:ital,[email protected];0.400;0.500;0.600;0.700;0.800;1.400; 1,700&family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap” /><link rel=”stylesheet” href=”https: //fonts.googleapis.com/css2?family=Lora:ital,[email protected];0.400;0.500;0.600;0.700;0.800;1.400;1.700&family=Roboto:ital,[email protected];0.400;0.500 ;0,600;0,700;0,800;1,400;1,700&display=swap” media=”print” onload=”this.media=’all'” /><noscript><link rel=”stylesheet” href=”https ://fonts.googleapis.com/css2?family=Lora:ital,[email protected];0.400;0.500;0.600;0.700;0.800;1.400;1.700&family=Roboto:ital,[email protected];0.400; 0.500;0.600;0.700;0.800;1.400;1.700&display=swap” /></noscript>
<link rel=”preload” href=”https://111/core/views/960b4ecbd7/library/fonticons/webfonts/fa-solid-900.woff2″ as=”font” crossorigin=”anonymous”>
<link rel=”preload” href=”https://2222/core/views/960b4ecbd7/library/fonticons/webfonts/fa-regular-400.woff2″ as=”font” crossorigin=”anonymous”>`I do not use these fonts, but the theme displays them in the code, although I do not need them, is it possible to remove this?`
The topic ‘remove redundant code HTML’ is closed to new replies.