[Solution] Better Schema for WooCommerce

Google’s Structured Data Testing Tool and/or Google’s Search Console for site owners may report the following errors for the default Schema JSON-LD markup offered by WooCommerce:

  • The aggregateRating field is recommended.
  • The brand field is recommended.
  • The review field is recommended.
  • This Product is missing a global identifier (e.g. isbn, mpn or gtin8).

I’ve written a simple Step-by-step Guide for WooCommerce and WPSSO that explains these issues, and offers a quick and easy solution.

Continue reading


WPSSO – New Google / Schema JSON-LD Extension

WPSSO version 3.25.0 has been released, along with a new WPSSO Schema JSON-LD Markup extension plugin.

The last three versions of WPSSO — including this one — contain significant changes to the JSON-LD code. WPSSO continues to provide excellent support for Google’s WebSite Information, Site Publisher / Organization Social Profile, and Person Social Profile Structured Data. And in version 3.25.0, WPSSO complies with Google’s markup standard even more by including this information only on the home page (allowing you the flexibility to use these Schema types on other pages with different values).

You’ll want to review the latest Google / Schema related options on the SSO General settings page, to make sure the settings reflect your preferences — for example, you may want to select the Site Owner to use in the Person Social Profile Structured Data markup.

All non-social related JSON-LD markup — like schema.org/Article markup for example — is provided by a new WPSSO Schema JSON-LD Markup (WPSSO JSON) Pro extension. You can select the Schema type for each WordPress Post Type on the SSO General settings page, under the Google / Schema tab. The new WPSSO JSON extension creates appropriate JSON-LD markup for all supported Schema types. WPSSO JSON also comes with an additional Schema Type option for the Social Settings metabox, allowing you to customize the Schema type for each Post / Page.

Continue reading


WPSSO – Wistia and Social JSON Improvements

WPSSO version 3.23.0 has been released.

The Wistia media integration module (Premium version) has been updated to support the new Wistia video async embed HTML. A new “Website Alternate Name” option has also been added to the General settings under the Google / Schema tab. This new option can be used to provide Google another name to consider for your website (see Include Your Site Name in Search Results for more information).

Two bug fixes are also included in this version — custom image sizes are defined too late in load process for the Media Library image editing feature, so an additional hook has been included to define custom image sizes specifically when editing images. The custom Pinterest Image ID / URL in the Social Settings metabox was being ignored, which has been fixed in this version. A known issue with using the Visual Composer plugin is that WordPress may be unable to strip its shortcodes out of the content text. This new version of WPSSO includes additional code to remove any remaining Visual Composer shortcodes.

The Schema JSON related methods have been completely refactored — the new methods use proper PHP arrays and call a JSON encoder to format the result. New WPSSO filters have also been added to allow developers to hook into and modify the JSON data arrays (see wpsso/filters.txt for more information).

Continue reading