2017 © Pedro Peláez
 

library schema-breadcrumbs-for-wordpress-seo

This class modifies the WordPress SEO plugin by Yoast to use valid Schema.org markup for breadcrumbs instead of the RDFa.

image

felixarntz/schema-breadcrumbs-for-wordpress-seo

This class modifies the WordPress SEO plugin by Yoast to use valid Schema.org markup for breadcrumbs instead of the RDFa.

  • Thursday, March 12, 2015
  • by felixarntz
  • Repository
  • 4 Watchers
  • 8 Stars
  • 106 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 2 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

Schema.org Breadcrumbs for WordPress SEO

endorse, (*1)

With this class the WordPress SEO breadcrumbs will use valid Schema.org markup., (*2)

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., (*3)

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', (*4)

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:, (*5)

function yourtheme_instantiate_class()
{
  // only instantiate the class if Yoast breadcrumbs are used
  if( function_exists( 'yoast_breadcrumb' ) )
  {
    Schema_Breadcrumbs::instance();
  }
}
add_action( 'after_setup_theme', 'yourtheme_instantiate_class' );

You do not need to do anything more than instantiating the class, it will then work by itself., (*6)

Additional Information

Read this short article to find out something more about this class: * How To Modify WP SEO Breadcrumbs for Schema.org, (*7)

Check out the WordPress SEO plugin repository on GitHub: * Yoast/WordPress SEO, (*8)

Find out more about Schema.org markup: * schema.org, (*9)

This project is now on Packagist, require it with Composer: * Packagist Package, (*10)

The Versions

12/03 2015

dev-master

9999999-dev https://github.com/felixarntz/schema-breadcrumbs-for-wordpress-seo

This class modifies the WordPress SEO plugin by Yoast to use valid Schema.org markup for breadcrumbs instead of the RDFa.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.0

 

wordpress breadcrumbs schema.org wordpress-seo

12/03 2015

1.3.1

1.3.1.0 https://github.com/felixarntz/schema-breadcrumbs-for-wordpress-seo

This class modifies the WordPress SEO plugin by Yoast to use valid Schema.org markup for breadcrumbs instead of the RDFa.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.0

 

wordpress breadcrumbs schema.org wordpress-seo

12/03 2015

1.3.0

1.3.0.0 https://github.com/felixarntz/schema-breadcrumbs-for-wordpress-seo

This class modifies the WordPress SEO plugin by Yoast to use valid Schema.org markup for breadcrumbs instead of the RDFa.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.0

 

wordpress breadcrumbs schema.org wordpress-seo

22/04 2014

1.2.1

1.2.1.0

This class modifies the WordPress SEO plugin by Yoast to use valid Schema.org markup for breadcrumbs instead of the RDFa.

  Sources   Download

The Requires

  • php >=5.3.0

 

22/04 2014

1.2.0

1.2.0.0

This class modifies the WordPress SEO plugin by Yoast to use valid Schema.org markup for breadcrumbs instead of the RDFa.

  Sources   Download

The Requires

  • php >=5.3.0