Phase 5: Content and SEO - Yoast SEO, Schema.org markup, Open Graph, favicon support, XML sitemap
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Yoast\WP\SEO\Config;
|
||||
|
||||
/**
|
||||
* Class Schema_IDs.
|
||||
*/
|
||||
class Schema_IDs {
|
||||
|
||||
/**
|
||||
* Hash used for the Author `@id`.
|
||||
*/
|
||||
public const AUTHOR_HASH = '#author';
|
||||
|
||||
/**
|
||||
* Hash used for the Author Logo's `@id`.
|
||||
*/
|
||||
public const AUTHOR_LOGO_HASH = '#authorlogo';
|
||||
|
||||
/**
|
||||
* Hash used for the Breadcrumb's `@id`.
|
||||
*/
|
||||
public const BREADCRUMB_HASH = '#breadcrumb';
|
||||
|
||||
/**
|
||||
* Hash used for the Person `@id`.
|
||||
*/
|
||||
public const PERSON_HASH = '#/schema/person/';
|
||||
|
||||
/**
|
||||
* Hash used for the Article `@id`.
|
||||
*/
|
||||
public const ARTICLE_HASH = '#article';
|
||||
|
||||
/**
|
||||
* Hash used for the Organization `@id`.
|
||||
*/
|
||||
public const ORGANIZATION_HASH = '#organization';
|
||||
|
||||
/**
|
||||
* Hash used for the Organization `@id`.
|
||||
*/
|
||||
public const ORGANIZATION_LOGO_HASH = '#/schema/logo/image/';
|
||||
|
||||
/**
|
||||
* Hash used for the logo `@id`.
|
||||
*/
|
||||
public const PERSON_LOGO_HASH = '#/schema/person/image/';
|
||||
|
||||
/**
|
||||
* Hash used for an Article's primary image `@id`.
|
||||
*/
|
||||
public const PRIMARY_IMAGE_HASH = '#primaryimage';
|
||||
|
||||
/**
|
||||
* Hash used for the Website's `@id`.
|
||||
*/
|
||||
public const WEBSITE_HASH = '#website';
|
||||
}
|
||||
Reference in New Issue
Block a user