Support for site verification codes
This commit is contained in:
12
modules/seo/includes/meta.php
Normal file
12
modules/seo/includes/meta.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
function kompass_seo_add_verfications() {
|
||||
$googleVerification = get_option('kompass_seo_google_verification', '');
|
||||
if ('' !== $googleVerification) {
|
||||
echo '<meta name="google-site-verification" content="' . $googleVerification . '" />' . "\n";
|
||||
}
|
||||
|
||||
$bingVerification = get_option('kompass_seo_bing_verification', '');
|
||||
if ('' !== $bingVerification) {
|
||||
echo '<meta name="msvalidate.01="' . $bingVerification . '" />' . "\n";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user