Title: remove redundant code HTML
Last modified: June 26, 2022

---

# remove redundant code HTML

 *  [maks131313](https://wordpress.org/support/users/maks131313/)
 * (@maks131313)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/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,wght@0.300;0.400;0.500;0.600;0.700;0.800;1.400](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&#8243](https://111/core/views/960b4ecbd7/library/fonticons/webfonts/fa-solid-900.woff2&#8243);
   as=”font” crossorigin=”anonymous”> <link rel=”preload” href=”[https://2222/core/views/960b4ecbd7/library/fonticons/webfonts/fa-regular-400.woff2&#8243](https://2222/core/views/960b4ecbd7/library/fonticons/webfonts/fa-regular-400.woff2&#8243);
   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?`

Viewing 1 replies (of 1 total)

 *  Plugin Support [Peter](https://wordpress.org/support/users/petersquirrly/)
 * (@petersquirrly)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/remove-redundant-code-html/#post-15773524)
 * Hi [@maks131313](https://wordpress.org/support/users/maks131313/),
 * Hide My WP Ghost does NOT remove or edit any files. We are only doing redirects,
   nothing more.
 * Sadly, this can’t be done from our plugin.

Viewing 1 replies (of 1 total)

The topic ‘remove redundant code HTML’ is closed to new replies.

 * ![](https://ps.w.org/hide-my-wp/assets/icon-256x256.png?rev=3217792)
 * [WP Ghost (Hide My WP Ghost) - Security & Firewall](https://wordpress.org/plugins/hide-my-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-my-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-my-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-my-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-my-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-my-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Peter](https://wordpress.org/support/users/petersquirrly/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/remove-redundant-code-html/#post-15773524)
 * Status: not resolved