Download the PHP package felixarntz/schema-breadcrumbs-for-wordpress-seo without Composer
On this page you can find all versions of the php package felixarntz/schema-breadcrumbs-for-wordpress-seo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download felixarntz/schema-breadcrumbs-for-wordpress-seo
More information about felixarntz/schema-breadcrumbs-for-wordpress-seo
Files in felixarntz/schema-breadcrumbs-for-wordpress-seo
Package schema-breadcrumbs-for-wordpress-seo
Short Description This class modifies the WordPress SEO plugin by Yoast to use valid Schema.org markup for breadcrumbs instead of the RDFa.
License GPL-2.0+
Homepage https://github.com/felixarntz/schema-breadcrumbs-for-wordpress-seo
Informations about the package schema-breadcrumbs-for-wordpress-seo
Schema.org Breadcrumbs for WordPress SEO
With this class the WordPress SEO breadcrumbs will use valid Schema.org markup.
This class will not have any function if the plugin WordPress SEO by Yoast is not activated on the current WordPress installation. Furthermore breadcrumbs have to be enabled in the plugin settings.
However, adding this class won't break anything since all the changes are made using filters from the WordPress SEO plugin. The filters used by the class are:
- 'wpseo_breadcrumb_single_link'
- 'wpseo_breadcrumb_output'
Usage of the class
As of version 1.2.0, the class uses a singleton pattern so that it can only be instantiated once. Simply include the class file in your theme or plugin. You can then enable it, for example, like this:
You do not need to do anything more than instantiating the class, it will then work by itself.
Additional Information
Read this short article to find out something more about this class:
Check out the WordPress SEO plugin repository on GitHub:
Find out more about Schema.org markup:
This project is now on Packagist, require it with Composer: