[Resolved] Remove wordpress generator meta tag

Home Forums Support [Resolved] Remove wordpress generator meta tag

Home Forums Support Remove wordpress generator meta tag

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1320632
    Yurik

    Hi, do I need to use any other way to make disappear the WP version on my site with GP premium theme?

    I have WP version 5.4.1 and used the remove_action(‘wp_head’, ‘wp_generator’); at the end of functions.php file (via wp admin), but it still appears the meta tag with current wp version at meta name=”generator” content=”WordPress 5.4.1

    Please can you advice how to solve this?

    Thanks

    #1321102
    Leo
    Staff
    Customer Support

    Hi there,

    That’s not something controlled by the theme.

    Maybe try both function here?
    https://www.wpbeginner.com/wp-tutorials/the-right-way-to-remove-wordpress-version-number/

    Please make sure the code is added using one of these methods:
    https://docs.generatepress.com/article/adding-php/

    Do not edit the parent theme’s function.php.

    #1321155
    Yurik

    Hi Leo,

    Al understood. Thanks for your answer!

    Cheers

    #1321163
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.