We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe. When using a Video popup block, the video doesn't get index by search engines
Describe the solution you'd like Automatically include a video schema in the output of the Video popup block.
No need for an option, this will always be included in the output.
Reference: https://www.semrush.com/blog/video-schema/
We can output the same way the Accordion block outputs it's schema (but without the option to enable/disable it, this one is always enabled)
Add a new panel in the Style tab > General for schema (at the bottom, add a ControlSeparator then the schema fields:
name
uploadDate
The schema output should be generated PHP-side in the render_block function just before outputting and should have the following data:
render_block
get_the_title()
thumbnailUrl
contentUrl
The text was updated successfully, but these errors were encountered:
mxkae
No branches or pull requests
Is your feature request related to a problem? Please describe.
When using a Video popup block, the video doesn't get index by search engines
Describe the solution you'd like
Automatically include a video schema in the output of the Video popup block.
No need for an option, this will always be included in the output.
Reference: https://www.semrush.com/blog/video-schema/
We can output the same way the Accordion block outputs it's schema (but without the option to enable/disable it, this one is always enabled)
Add a new panel in the Style tab > General for schema (at the bottom, add a ControlSeparator then the schema fields:
name
field, default to blank)uploadDate
field, default to blank)The schema output should be generated PHP-side in the
render_block
function just before outputting and should have the following data:name
- from thename
field, or default to theget_the_title()
if available, blank otherwisethumbnailUrl
- should be acquired from the image src in the child image block if available, blank otherwiseuploadDate
- from theuploadDate
field, or default to the publish date of the current post if available, blank otherwisecontentUrl
- the video URLThe text was updated successfully, but these errors were encountered: