Merged in release/release-1.09 (pull request #10)
Release/release 1.09 * Install missing plugins * rs set to 1 * rebase pantheon for aws * rebase pantheon for aws * prod config change * prod config change * fix campaing issue * revert Approved-by: Jay Sharma
This commit is contained in:
committed by
Jay Sharma
parent
779393381f
commit
22f10a9edd
@@ -605,12 +605,6 @@ if ( ! class_exists( 'BSF_AIOSRS_Pro_Schema' ) ) {
|
||||
'default' => 'create-field',
|
||||
'description' => esc_html__( 'The organization that publishes the source content of the course. For example, UC Berkeley.', 'wp-schema-pro' ),
|
||||
),
|
||||
'offer-category' => array(
|
||||
'label' => esc_html__( 'Offer Category', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'none',
|
||||
'description' => esc_html__( 'The pricing category of the course.(e.g. Free, Partially Free, Subscription, Paid).', 'wp-schema-pro' ),
|
||||
),
|
||||
'course-instance' => array(
|
||||
'label' => esc_html__( 'Course Instance', 'wp-schema-pro' ),
|
||||
'type' => 'repeater',
|
||||
@@ -668,25 +662,6 @@ if ( ! class_exists( 'BSF_AIOSRS_Pro_Schema' ) ) {
|
||||
'type' => 'date',
|
||||
'default' => 'none',
|
||||
),
|
||||
'repeat-count' => array(
|
||||
'label' => esc_html__( 'Repeat Count', 'wp-schema-pro' ),
|
||||
'type' => 'number',
|
||||
'default' => 'none',
|
||||
'attrs' => array(
|
||||
'min' => '0',
|
||||
'step' => 'any',
|
||||
),
|
||||
),
|
||||
'repeat-frequency' => array(
|
||||
'label' => esc_html__( 'Repeat Frequency', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'none',
|
||||
),
|
||||
'course-workload' => array(
|
||||
'label' => esc_html__( 'Course Workload', 'wp-schema-pro' ),
|
||||
'type' => 'text',
|
||||
'default' => 'none',
|
||||
),
|
||||
'previous-date' => array(
|
||||
'label' => esc_html__( 'Course Previous Start Date', 'wp-schema-pro' ),
|
||||
'type' => 'datetime-local',
|
||||
@@ -1768,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(
|
||||
@@ -1961,108 +1936,66 @@ 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(
|
||||
@@ -2229,12 +2162,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',
|
||||
@@ -2243,12 +2176,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