katesmith5
asked 9 years ago

How can I hide WP Version from DW Page? I tried too many times but it doesn’t work.

1 Answers
DominicStaff
answered 9 years ago

Hi,
In order for you to completely remove your WordPress version number from both your head file and RSS feeds, you will need to add the following function to your functions.php file:

function wpbeginner_remove_version() {
return '';
}
add_filter('the_generator', 'wpbeginner_remove_version');

By adding this version, you will remove the WordPress version number from all different areas on your site. Above is the right way to remove WordPress Version number.
Hope this helps !

katesmith5
replied 9 years ago

I tried with this, i saw the post on wpbegainer that is both useful for both head and rss file and tried myself but it doesn’t work. Can you take a test?

dominic Staff
replied 9 years ago

I have checked and help you resolve this issue.

Powered by DW Question & Answer Pro