Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -1743,9 +1743,9 @@ if ( ! class_exists( 'BSF_AIOSRS_Pro_Schema' ) ) {
|
||||
'required' => true,
|
||||
),
|
||||
'recipe-video-content-url' => array(
|
||||
'label' => esc_html__( 'Content URL', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'create-field',
|
||||
'label' => esc_html__( 'Content URL', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'create-field',
|
||||
'required' => true,
|
||||
),
|
||||
'recipe-video-embed-url' => array(
|
||||
@@ -1936,66 +1936,108 @@ if ( ! class_exists( 'BSF_AIOSRS_Pro_Schema' ) ) {
|
||||
'guideline-link' => empty( $doc_link ) ? 'https://wpschema.com/docs/how-to-add-a-schema-markup-for-a-video-object/' : 'https://developers.google.com/search/docs/data-types/videos',
|
||||
'path' => BSF_AIOSRS_PRO_DIR . 'classes/schema/',
|
||||
'subkeys' => array(
|
||||
'name' => array(
|
||||
'name' => array(
|
||||
'label' => esc_html__( 'Video Title', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'post_title',
|
||||
'required' => true,
|
||||
),
|
||||
'description' => array(
|
||||
'description' => array(
|
||||
'label' => esc_html__( 'Video Description', 'wp-schema-pro' ),
|
||||
'type' => 'textarea',
|
||||
'default' => 'post_content',
|
||||
'required' => true,
|
||||
),
|
||||
'image' => array(
|
||||
'image' => array(
|
||||
'label' => esc_html__( 'Video Thumbnail', 'wp-schema-pro' ),
|
||||
'type' => 'image',
|
||||
'default' => 'featured_img',
|
||||
'required' => true,
|
||||
),
|
||||
'upload-date' => array(
|
||||
'upload-date' => array(
|
||||
'label' => esc_html__( 'Video Upload Date', 'wp-schema-pro' ),
|
||||
'type' => 'date',
|
||||
'default' => 'post_date',
|
||||
'required' => true,
|
||||
),
|
||||
'orgnization-name' => array(
|
||||
'orgnization-name' => array(
|
||||
'label' => esc_html__( 'Publisher Name', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'blogname',
|
||||
),
|
||||
'site-logo' => array(
|
||||
'site-logo' => array(
|
||||
'label' => esc_html__( 'Publisher Logo', 'wp-schema-pro' ),
|
||||
'type' => 'image',
|
||||
'default' => 'site_logo',
|
||||
),
|
||||
'content-url' => array(
|
||||
'content-url' => array(
|
||||
'label' => esc_html__( 'Content URL', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'none',
|
||||
),
|
||||
'embed-url' => array(
|
||||
'embed-url' => array(
|
||||
'label' => esc_html__( 'Embed URL', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'none',
|
||||
),
|
||||
'duration' => array(
|
||||
'duration' => array(
|
||||
'label' => esc_html__( 'Video Duration', 'wp-schema-pro' ),
|
||||
'type' => 'time-duration',
|
||||
'default' => 'none',
|
||||
),
|
||||
'expires-date' => array(
|
||||
'expires-date' => array(
|
||||
'label' => esc_html__( 'Video Expires On', 'wp-schema-pro' ),
|
||||
'type' => 'date',
|
||||
'default' => 'none',
|
||||
),
|
||||
'interaction-count' => array(
|
||||
'interaction-count' => array(
|
||||
'label' => esc_html__( 'Video Interaction Count', 'wp-schema-pro' ),
|
||||
'type' => 'number',
|
||||
'default' => 'none',
|
||||
'description' => esc_html__( 'The number of times the video has been watched.', 'wp-schema-pro' ),
|
||||
),
|
||||
'clip' => array(
|
||||
'label' => esc_html__( 'Clips', 'wp-schema-pro' ),
|
||||
'type' => 'repeater',
|
||||
'is_recommnded' => true,
|
||||
'fields' => array(
|
||||
'clip-name' => array(
|
||||
'label' => esc_html__( 'Clip Name', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'none',
|
||||
),
|
||||
'clip-start-offset' => array(
|
||||
'label' => esc_html__( 'Clip Start Offset', 'wp-schema-pro' ),
|
||||
'type' => 'number',
|
||||
'default' => 'none',
|
||||
'description' => esc_html__( 'The start time of the clip expressed as the number of seconds from the beginning of the work.', 'wp-schema-pro' ),
|
||||
),
|
||||
'clip-end-offset' => array(
|
||||
'label' => esc_html__( 'Clip End Offset', 'wp-schema-pro' ),
|
||||
'type' => 'number',
|
||||
'default' => 'none',
|
||||
'description' => esc_html__( 'The end time of the clip expressed as the number of seconds from the beginning of the work.', 'wp-schema-pro' ),
|
||||
),
|
||||
'clip-url' => array(
|
||||
'label' => esc_html__( 'Clip URL', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'none',
|
||||
'description' => esc_html__( 'A URL that points to the start time of the clip.', 'wp-schema-pro' ),
|
||||
),
|
||||
),
|
||||
),
|
||||
'seekto-action-start-offset' => array(
|
||||
'label' => esc_html__( 'Seek To Action Start Offset', 'wp-schema-pro' ),
|
||||
'type' => 'number',
|
||||
'default' => 'none',
|
||||
'description' => esc_html__( 'The number of seconds to skip to.', 'wp-schema-pro' ),
|
||||
),
|
||||
'seekto-action-target' => array(
|
||||
'label' => esc_html__( 'Seek To Action target URL', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'none',
|
||||
'description' => esc_html__( 'A URL that points to the start time of the clip.', 'wp-schema-pro' ),
|
||||
),
|
||||
),
|
||||
),
|
||||
'bsf-aiosrs-faq' => array(
|
||||
@@ -2162,12 +2204,12 @@ if ( ! class_exists( 'BSF_AIOSRS_Pro_Schema' ) ) {
|
||||
'type' => 'text',
|
||||
'default' => 'create-field',
|
||||
),
|
||||
'credit-text' => array(
|
||||
'credit-text' => array(
|
||||
'label' => esc_html__( 'Credit Text', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'create-field',
|
||||
),
|
||||
'creator-type' => array(
|
||||
'creator-type' => array(
|
||||
'label' => esc_html__( 'Creator Type', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'Person',
|
||||
@@ -2176,12 +2218,12 @@ if ( ! class_exists( 'BSF_AIOSRS_Pro_Schema' ) ) {
|
||||
'Organization' => esc_html__( 'Organization', 'wp-schema-pro' ),
|
||||
),
|
||||
),
|
||||
'creator' => array(
|
||||
'creator' => array(
|
||||
'label' => esc_html__( 'Creator', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'author_name',
|
||||
),
|
||||
'copy-right-notice' => array(
|
||||
'copy-right-notice' => array(
|
||||
'label' => esc_html__( 'Copy Right Notice', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'create-field',
|
||||
|
||||
Reference in New Issue
Block a user