WordPress.org

Forums

[resolved] Remove wordpress version number (4 posts)

  1. DK999k
    Member
    Posted 4 years ago #

    Hi,

    I'm trying to remove 2 lines from the 'Right Now' section of the dashboard that say the name of the theme and the wordpress version number.

    Could anyone help me remove these two using the functions file of my theme? - I've tried a few things, but find myself just blindly referencing functions.

    Any help would be much appreciated!

    Thanks,
    - D.

  2. Web Newbie
    Member
    Posted 4 years ago #

    open functions.php from your theme and the following code

    remove_action('wp_head', 'wp_generator');

  3. rustybulb
    Member
    Posted 4 years ago #

    Although the above will do it, a hacker could still find the version number through the RSS feed, so here is an article on how to do it, so it cannot be detected at all:

    http://www.wpbeginner.com/wp-tutorials/the-right-way-to-remove-wordpress-version-number/

  4. DK999k
    Member
    Posted 4 years ago #

    Hey, Thanks for the answers! Though those have no affect on the dashboard. Is there anything that can remove it from the dashboard?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.