ASD Products Plugin
Defines an “ASD Product” Custom Post Type in order to create Rich Content using JSON-LD Structured Data. Included are a grouping Taxonomy, and a shortcode with multiple templates.
The ASD Products plugin is useful for those who wish to define and populate the search engines with well-formed Product type Structured Data, without setting up a full e-commerce solution.
The primary function of the ASD Product Type is to generate Rich Content through the insertion of JSON-LD Structured Data into the HTML Footer for the Schema.org “Product” definition. Each ASD Product contains additional defined metadata such as Product Description, Rating, Image, etc.
Included is a shortcode that allows Products to be inserted directly into other pages, using several provided templates, or a custom template that you define.
The ASD Product post type and shortcode templates support Featured Images.
The “ASD Product Groups” taxonomy is included for grouping and managing ASD Products. The Taxonomy is visible in the ASD PRoduct list and can use used for filtering.
Additional Strutured Data
If the ASD FastBuild Widgets are also installed, additional JSON-LD fields will be included with the ASD Product, including the Seller properties, and its included properties. ASD FastBuild Widgets
Another function of the ASD Product Type is to insert JSON-LD Structured Data into the HTML Footer for the Schema.org Product definition. Each ASD Product contains additional defined metadata such as Product Description, Rating, Image, etc.
If the ASD FastBuild Widgets are also installed, additional JSON-LD fields will be included with the ASD Product, including the Seller properties, and its included properties.
This Product Type does not include e-commerce Shopping Cart or Checkout functionality.
ASD Products Plugin Download on WordPress.org’s plugin repository.
[abrokensd_insert_products name='my-product-slug' template='my-product-template.php']
ASD Products List
Edit ASD Product
Results in Google Structured Data Testing Tool
applied codesniffer phpcs with WordPress ruleset standard, zero errors, zero warnings remain
1.201803131 (Second RC) 2018-03-13
* Tweak Replaced clumsy and error-prone leading/trailing HTML class fields with single wrapper classes field, added code to sanitize and embed these classes into leading and trailing
* Tweak Elimination of all use of strcmp().
* Tweak Improvement in shortcode template heirarchy.
* Fix Removal of calls to load external HTML.
* Fix Improvements to readme.txt.
* Fix Elimination of double-quotes where possible.
* Tweak Added tags around the_post_thumbnail in shortcode banner template, aimed at get_the_permalink()
DOM classes must be copied from “leading_html” post meta field, and moved to “wrapperclasses” post meta field. I personally performed this task for the handful of sites which are currently running this plugin.