=== OpusDev Food Structured Data ===
Contributors: dariodda
Tags: structured-data, food, rich-snippets, recipes, woocommerce
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.12
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Food-focused structured data for WooCommerce products, recipes, producers and local food businesses.

== Description ==

OpusDev Food Structured Data is a simple SEO plugin built for food websites, WooCommerce stores, recipe blogs, local shops and producers.

The plugin helps you add food-focused JSON-LD structured data to WooCommerce products, recipes, producers and local food businesses. It is designed to be simple, lightweight and useful for organic food stores, local producers, recipe blogs, small shops and food ecommerce websites.

Included features:

* WooCommerce food product schema.
* Food attributes: Organic / Biologico, Km 0 / Local food, Short supply chain / Filiera corta, Seasonal, Artisanal, Traditional product, In organic conversion, Slow food inspired.
* Country of origin for products.
* Optional Food SEO short description for products.
* Optional frontend food attribute badges on product pages.
* Basic recipe card for posts and pages.
* JSON-LD preview, Copy JSON-LD button and Google Rich Results Test link in the editor.
* Basic Producer / Brand name and website.
* Recipe schema for posts and pages.
* Local food business schema for the homepage.
* PRO options visible but locked: DOP/PDO, IGP/PGI, STG/TSG, GLOBALG.A.P., GLOBALG.A.P. GRASP, region, municipality, producer archive, recipe nutrition, allergens, video, FAQ, WooCommerce ingredient links, Food Blockchain Traceability, batch/lot tracking and QR code traceability.

Important: this plugin does not issue, validate, or guarantee any certification. Certification and designation fields must be used only for products that are officially certified or legally entitled to use those claims.

== External services ==

This plugin does not automatically send user or site data to external services.

The editor includes optional links that the administrator can click manually:

* Google Rich Results Test, used to test the public URL of a page.
* Opus Dev PRO product page, used to view the commercial PRO version.

No automatic external API call is made by the plugin.

== Installation ==

1. Upload the plugin ZIP from Plugins > Add New > Upload Plugin.
2. Activate the plugin.
3. Go to OpusDev Food Structured Data.
4. Configure the general modules.
5. Edit a WooCommerce product, post or page and fill in the OpusDev Food Structured Data fields.

== Screenshots ==

1. Dashboard – describe your site.
2. Product – describe your product.
3. Product – add food-specific attributes.
4. Product – add geolocation information.
5. Product – save the fields, update the preview, and insert the JSON-LD.
6. Blog post – describe your content to Google.
7. Recipe blog post – enter ingredients and cooking times, then update the JSON-LD code.

== Frequently Asked Questions ==

= Does this plugin require WooCommerce? =

No. WooCommerce is required only for the product schema features. Recipe and local food business schema can work on standard WordPress posts and pages.

= Does this plugin guarantee rich results in Google? =

No. The plugin generates structured data, but search engines decide whether and when to show rich results.

= Does this plugin certify products as DOP, IGP, STG or GLOBALG.A.P.? =

No. The plugin does not issue, validate or guarantee certifications. Certification-related fields must be used only for products that are officially certified or legally entitled to use those claims.

= Is the plugin GPL compatible? =

Yes. The plugin is released under GPLv2 or later.

== Changelog ==

= 1.0.12 =
* Updated the WordPress admin menu and editor meta box names to OpusDev Food Structured Data.
* Updated all PRO upgrade buttons to the official Food Schema & Rich Snippets SEO PRO product page.
* Refined remaining user-facing references to the previous FREE plugin name without changing internal compatibility identifiers.

= 1.0.11 =
* Added a Save & update JSON-LD button in product, post and page editors.
* Food Schema fields can now be saved through AJAX and the JSON-LD preview refreshes immediately.
* Restored functional admin and frontend CSS/JS assets inside the plugin package while keeping WordPress.org directory assets out of the ZIP.

= 1.0.10 =
* Updated the WordPress.org contributor username to match the plugin owner account.
* Removed the generic Plugin URI header to avoid non-specific plugin homepage warnings during manual review.
* Performed preventive WordPress.org repository review cleanup based on previous reviewer feedback.

= 1.0.9 =
* Removed the manual load_plugin_textdomain() call because WordPress.org loads translations automatically.
* Improved sanitization of food attribute input arrays for Plugin Check compatibility.

= 1.0.8 =
* Renamed plugin package, main file and public plugin name for WordPress.org submission.
* Kept the text domain aligned with the plugin slug: opusdev-food-structured-data.
* Replaced edition labels with clearer "Included" labels.
* Updated readme metadata and translation template project name.

= 1.0.7 =
* WordPress.org-oriented release polish.
* Confirmed GPLv2 or later headers and added license file.
* Reduced readme tags to a WordPress.org-friendly set.
* Added External services and FAQ sections to readme.txt.
* Improved settings sanitization with a strict whitelist for local business type.
* Improved product attribute saving with a strict whitelist of allowed included attributes.
* Skips autosave and revision saves more defensively.
* Added minor file-level license metadata.

= 1.0.6 =
* Added locked Recipe PRO feature previews in the post/page recipe meta box.
* Added PRO upgrade links in settings, product meta boxes and recipe meta boxes.
* Improved PRO call-to-action layout in the admin interface.

= 1.0.5 =
* Added a Getting Started panel in the settings page.
* Added clearer helper text below key Product and Recipe fields.
* Added a professional certification disclaimer for locked PRO options.
* Added a Copy JSON-LD button in Product and Recipe previews.
* Added a basic translation template file in /languages.
* Minor admin UI polish and compatibility notes.

= 1.0.4 =
* Improved admin layout for Product and Recipe meta boxes.
* Centered Food Schema fields inside a cleaner card-style editor panel.
* Added a colored plugin header for better visibility and distinction in the editor.

= 1.0.3 =
* Recipe schema preview now activates when recipe fields are filled, even if the recipe checkbox was not saved yet.

= 1.0.2 =
* Fixed recipe JSON-LD preview showing false when recipe schema is not active yet.
* Added clearer preview message for articles/pages before saving recipe settings.

= 1.0.1 =
* Added Food Blockchain Traceability preview as a locked PRO feature.
* Added optional Food SEO product description.
* Added JSON-LD previews and Google Rich Results Test links in the editor.
* Added optional frontend food attribute badges for WooCommerce products.
* Added optional basic recipe card for posts and pages.

= 1.0.0 =
* Initial release.
