Download the PHP package wpscholar/wp-structured-video-data without Composer
On this page you can find all versions of the php package wpscholar/wp-structured-video-data. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wpscholar/wp-structured-video-data
More information about wpscholar/wp-structured-video-data
Files in wpscholar/wp-structured-video-data
Package wp-structured-video-data
Short Description Structured data for video embeds in WordPress.
License GPL-2.0-or-later
Informations about the package wp-structured-video-data
WP Structured Video Data
Structured data for video embeds in WordPress.
Not familiar with structured data? Take a look at these resources:
- Google Developers - Structured Video Data Reference
- Schema.org - VideoObject Reference
- Google Structured Data Testing Tool
Requirements
PHP 5.6+ WordPress 4.8+
Prerequisites
Install Composer
Installation
-
Add the module to your WordPress plugin or theme project via Composer:
- Make sure you have added the Composer autoloader to your project:
Usage
By default, all video embeds in WordPress will automatically have the appropriate structured data injected.
Advanced Usage
If you want to use this for specific video URLs that aren't within the WordPress content:
Note that you will be responsible for also rendering the video embed. This can be done using wp_oembed_get()
.