This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 8 replies, has 3 voices.

Last updated by Dario 7 years ago.

Assigned support staff: Harshad.

Author Posts
May 2, 2012 at 5:29 pm #57672

MarioFr

Is it possible to remove WPML meta tag that contains version number? (<meta name="generator" content="WPML ver:2.4.3 stt:22,1;0" />)

May 3, 2012 at 4:02 am #57690

Harshad

Mario,

You can remove it by adding this to your theme's functions.php:
remove_action('wp_head', 'meta_generator_tag');

May 3, 2012 at 5:04 am #57699

MarioFr

Unfortunately that didn't help. With remove_action('wp_head', 'wp_generator'); I removed WP meta version, but still have WPML in there after adding remove_action('wp_head', 'meta_generator_tag');

May 3, 2012 at 5:18 am #57701

Harshad

It should work, you can either try comment out line number 6760 in following file.

/sitepress-multilingual-cms/sitepress.class.php

May 7, 2012 at 3:42 pm #58273

Dario

Not working to me to, and i think is not a good practice to modify the plugin file!

May 7, 2012 at 4:30 pm #58277

MarioFr

Tried it, but still no luck 🙁

May 8, 2012 at 3:14 am #58313

Harshad

Try this:

Add this to your theme's functions.php file
remove_action('wp_head', 'meta_generator_tag');

Then de-activate and activate the WPML plugin.

May 8, 2012 at 11:08 am #58362

Dario

still not working de-activate and activate all the WPML plugin.

May 22, 2012 at 10:39 am #60040

Dario

any solution yet?

The topic ‘[Closed] Removing WPML version meta tag from header?’ is closed to new replies.