alan@yawez.com wrote:
Hello. I have got the Google webmaster varification code, but I can't find where to put it. The code is "<meta name="verify-v1" content="NXh9CTPfqiWROxMl+wEosO794+dQZ984lvDpxTGghFs=" >" But on which page do I put it in?
Untested code, YMMV. Add to your LocalSettings.php:
function myCustomMetaTags( &$output, &$skin ) { $output->addMeta( 'verify-v1', 'NXh9CTPfqiWROxMl+wEosO794+dQZ984lvDpxTGghFs=' ); return true; } $wgHooks['BeforePageDisplay'][] = 'myCustomMetaTags';