Call Us : +1-678-551-2452
+91 77381-86899

Remove / Hide WordPress Framework Version From Admin Dashboard and Front End View Source

Follow below steps to remove WordPress Framework version from displaying completely from your website.

To remove the WordPress framework  version from the Admin Dashboard:

1. To Disable Framework Updates, use plugin Disable WordPress Core Updates.

2. To remove Framework information from footer in Admin Dashboard, use plugin remove-admin-footer-and-version.

The above 2 steps will remove the Framework information completely from the dashboard.

The version information can still be seen in the Browser’s “View Source” : view-source:http://Website Address/ which shows the version information in two forms.

To remove WordPress Framework Version from View Source:

1.  To remove the line – <meta name=”generator” content=”WordPress 3.3.2″ /> – add below code in the theme’s functions.php file:

function remove_wp_meta_tag()

{ return null; }

add_filter( ‘the_generator’, ‘remove_wp_meta_tag’ );

 

2. You can still see WordPress framework version in form of query string in scripts and styles – to remove add below code in the theme’s functions.php file:

function remove_wp_version_query_strings( $src ){

global $wp_version;

parse_str(parse_url($src, PHP_URL_QUERY), $query);

if ( !empty($query[‘ver’]) && $query[‘ver’] === $wp_version )

{ $src = remove_query_arg(‘ver’, $src);}

return $src;

}

add_filter( ‘script_loader_src’, ‘remove_wp_version_query_strings’ );

add_filter( ‘style_loader_src’, ‘remove_wp_version_query_strings’ );

Leave a Reply

Pay with PayPal

Icon Web Solutions Service
Other Amount:
Name:

Testimonials

It has been a great pleasure working with Icon Web Solutions on the development of my digitized logo and website. From the initial phases of web design, the Icon Web Solutions team has been a pleasure to work with
Naren, USA

REQUEST A QUOTE

Request A Quote

Please fill the form to request a quote from us

Name (required)

Email (required)

Phone

Services
 Website Design & Development Logo Design SEO SMO Payment Gateway Integration Others

Any Other Detail

Input Text Shown in Image
captcha