Phase 5: Content and SEO - Yoast SEO, Schema.org markup, Open Graph, favicon support, XML sitemap

This commit is contained in:
Hanson.xyz Dev
2025-11-28 17:10:24 -06:00
parent c4f29a3152
commit 91de533da4
1552 changed files with 171432 additions and 7 deletions
@@ -0,0 +1,27 @@
<?php
namespace Yoast\WP\SEO\Presenters\Webmaster;
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
/**
* Presenter class for the Ahrefs verification setting.
*/
class Ahrefs_Presenter extends Abstract_Indexable_Tag_Presenter {
/**
* The tag key name.
*
* @var string
*/
protected $key = 'ahrefs-site-verification';
/**
* Retrieves the Ahrefs site verification value from the settings.
*
* @return string The Ahrefs site verification value.
*/
public function get() {
return $this->helpers->options->get( 'ahrefsverify', '' );
}
}
@@ -0,0 +1,27 @@
<?php
namespace Yoast\WP\SEO\Presenters\Webmaster;
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
/**
* Presenter class for the Baidu Webmaster Tools verification setting.
*/
class Baidu_Presenter extends Abstract_Indexable_Tag_Presenter {
/**
* The tag key name.
*
* @var string
*/
protected $key = 'baidu-site-verification';
/**
* Retrieves the webmaster tool site verification value from the settings.
*
* @return string The webmaster tool site verification value.
*/
public function get() {
return $this->helpers->options->get( 'baiduverify', '' );
}
}
@@ -0,0 +1,27 @@
<?php
namespace Yoast\WP\SEO\Presenters\Webmaster;
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
/**
* Presenter class for the Bing Webmaster verification setting.
*/
class Bing_Presenter extends Abstract_Indexable_Tag_Presenter {
/**
* The tag key name.
*
* @var string
*/
protected $key = 'msvalidate.01';
/**
* Retrieves the webmaster tool site verification value from the settings.
*
* @return string The webmaster tool site verification value.
*/
public function get() {
return $this->helpers->options->get( 'msverify', '' );
}
}
@@ -0,0 +1,28 @@
<?php
namespace Yoast\WP\SEO\Presenters\Webmaster;
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
/**
* Presenter class for the Google Search Console verification setting.
*/
class Google_Presenter extends Abstract_Indexable_Tag_Presenter {
/**
* The tag key name.
*
* @var string
*/
protected $key = 'google-site-verification';
/**
* Retrieves the webmaster tool site verification value from the settings.
*
* @return string The webmaster tool site verification value.
*/
public function get() {
return $this->helpers->options->get( 'googleverify', '' );
}
}
@@ -0,0 +1,27 @@
<?php
namespace Yoast\WP\SEO\Presenters\Webmaster;
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
/**
* Presenter class for the Pinterest Webmaster verification setting.
*/
class Pinterest_Presenter extends Abstract_Indexable_Tag_Presenter {
/**
* The tag key name.
*
* @var string
*/
protected $key = 'p:domain_verify';
/**
* Retrieves the webmaster tool site verification value from the settings.
*
* @return string The webmaster tool site verification value.
*/
public function get() {
return $this->helpers->options->get( 'pinterestverify', '' );
}
}
@@ -0,0 +1,27 @@
<?php
namespace Yoast\WP\SEO\Presenters\Webmaster;
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
/**
* Presenter class for the Yandex Webmaster verification setting.
*/
class Yandex_Presenter extends Abstract_Indexable_Tag_Presenter {
/**
* The tag key name.
*
* @var string
*/
protected $key = 'yandex-verification';
/**
* Retrieves the webmaster tool site verification value from the settings.
*
* @return string The webmaster tool site verification value.
*/
public function get() {
return $this->helpers->options->get( 'yandexverify', '' );
}
}