=== Schema & Structured Data for WP & AMP ===
Contributors: magazine3
Tags: Schema, Structured Data, Rich Snippets, SEO, AMP
Requires at least: 4.5
Tested up to: 6.9
Requires PHP: 5.6.20
Stable tag: 1.55
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Schema & Structured Data adds Google Rich Snippets markup according to Schema.org guidelines to structure your site for SEO.

== Description ==

Schema & Structured Data for WP & AMP adds Google Rich Snippets markup according to Schema.org guidelines to structure your site for SEO. (AMP Compatible) 

[Home](https://structured-data-for-wp.com/) | [Help & Tech Support](https://structured-data-for-wp.com/contact-us/) | [Documentation](https://structured-data-for-wp.com/docs/)  | [Pro version Features](https://structured-data-for-wp.com/pricing/)

### Features 

* <strong>Schema Types</strong>: Currently, We have more than 35 schema types such as Blog Posting, News article, Local Business, Web page, Article, Recipe, Product, and Video Object [view all](https://structured-data-for-wp.com/docs/article/how-many-schema-types-do-we-support/). We are going to add all the schema types in the future. You can request the one you want and we will add it for you! 
* <strong>Schema Templates</strong>: Create a predefined set of schema markups and use them in main schema types [learn more](https://structured-data-for-wp.com/docs/article/how-to-use-schema-templates-in-schema-structured-data-for-wp-amp/). 
* <strong>Conditional Display Fields</strong>: Meaning you include or exclude any posts, pages, post types, taxonomies and more! 
* <strong>Knowlegde Base Support</strong>: Recognize the content based on the organization or a person via data type option.
* <strong>Full AMP Compatiblity</strong>: Supports the AMP for WP and AMP by Automattic plugins. 
* <strong>Advanced Settings</strong>: Play with output of schema markup using these options (Defragment, Add in Footer, Pretty Print, MicroData CleanUp etc.)
* <strong>Migration</strong>: Import the data from other schema plugins such as (SEO Pressor, WP SEO Schema, Schema Plugin etc )
* <strong>Compatibility</strong>: Generate the schema markup for the plugins. We have provided schema support for them. Few of them are - kk Star Ratings, WP-PostRatings, bbPress, Easy Liveblogs, wpForo, RealtyPress Premium, Discout Rules, WP Job Board Pro, EventPrime, Joli FAQ SEO
* <strong>Google Review</strong>: Display your business google reviews and its schema markup on your website.
* **[Premium]** Reviews ( [Fetch](https://structured-data-for-wp.com/reviews-for-schema) reviews from 75+ platforms ).
* **[Premium]** Priority Support. [Get it](https://structured-data-for-wp.com/priority-support/) We get more than 100 technical queries a day but the Priority support plan will help you skip that and get the help from a dedicated team.
* <strong>Review Module</strong>: Create your own review rating box with pros and cons and its schema markup
* <strong>Schema Type Blocks in Gutenberg</strong>: Create your own content with the blocks and json schema markup will be added automatically
* <strong>Unlimited Custom Post Types</strong>: You can control to represent the Rich Snippets data in the google search console using unlimited custom post types.
* <strong>Easy to use</strong> with Minimal Settings
* <strong>Archive Page Listing</strong> Support 
* <strong>JSON-LD</strong> Format
* <strong>Easy to use</strong> Setup Wizard
* <strong>Breadcrumbs</strong> Listing Support
* <strong>Comments</strong> Post comments Support
* <strong>Constant Development & New Features</strong>: We’ll be releasing the constant updates along with the more handy features as soon as we get the feedback from the users.


### Supported Schema Types

* Apartment
* House
* SingleFamilyResidence
* Article
* Blogposting
* Book
* Course
* DiscussionForumPosting,
* DataFeed
* HowTo
* NewsArticle
* QAPage
* Review
* Recipe
* TVSeries
* SoftwareApplication
* MobileApplication
* SpecialAnnouncement (Related to Coronavirus)
* TechArticle
* WebPage
* Event
* VideoGame
* JobPosting
* Service
* Trip
* AudioObject
* VideoObject
* MedicalCondition
* MusicPlaylist
* MusicAlbum
* LocalBusiness with all the sub categories
* Product
* ProductGroup
* TouristAttraction
* TouristDestination
* LandmarksOrHistoricalBuildings
* HinduTemple
* Church
* Mosque
* Person
* LiveBlogPosting
* ImageGallery
* MediaGallery
* VacationalRental
* CriticReview
* ProfilePage
* Game
* Certification
* Guide
* [View All](https://structured-data-for-wp.com/docs/article/how-many-schema-types-do-we-support/)

### Extensions

Some useful extensions to extend Schema & Structured Data for WP & AMP features

1. [Woocommerce Compatibility For Schema](https://structured-data-for-wp.com/extensions/woocommerce-compatibility-for-schema/) 
2. [WPML Schema Compatibility](https://structured-data-for-wp.com/wpml-schema-compatibility/) 
3. [Polylang Compatibility For SASWP](https://structured-data-for-wp.com/polylang-compatibility-for-saswp)
4. [FAQ Schema Compatibility](https://structured-data-for-wp.com/faq-schema-compatibility/)
5. [Event Schema](https://structured-data-for-wp.com/event-schema/)
6. [Google News Schema Setup](https://structured-data-for-wp.com/services/google-news-schema-setup/)
7. [Show Business Reviews in Google SERP!](https://structured-data-for-wp.com/reviews-for-schema)
8. [Classifieds Plugin Compatibility](https://structured-data-for-wp.com/classifieds-plugin-compatibility/)
9. [1-Click Indexing API Integration](https://structured-data-for-wp.com/1-click-indexing-api-integration/)
10. [JobPosting Schema Compatibility](https://structured-data-for-wp.com/jobposting-schema-compatibility/)
11. [Recipe Schema](https://structured-data-for-wp.com/recipe-schema/)
12. [Course Schema](https://structured-data-for-wp.com/course-schema/)
13. [Real Estate Schema](https://structured-data-for-wp.com/extensions/real-estate-schema/)
14. [Q&A Schema Compatibility](https://structured-data-for-wp.com/qanda-schema-for-saswp/)
15. [WooCommerce Compatibility for Schema](https://structured-data-for-wp.com/extensions/woocommerce-compatibility-for-schema/)

### Support

We try our best to provide support on WordPress.org forums. However, We have a special [team support](https://structured-data-for-wp.com/contact-us/) where you can ask us questions and get help. Delivering a good user experience means a lot to us and so we try our best to reply each and every question that gets asked.

### Bug Reports

Bug reports for Schema & Structured Data for WP & AMP are [welcomed on GitHub](https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues). Please note GitHub is not a support forum, and issues that aren't properly qualified as bugs will be closed.

### Credits

* Select2 used https://github.com/select2/select2 - License URI: https://github.com/select2/select2/blob/develop/LICENSE.md,
* Merlin WP used https://github.com/richtabor/MerlinWP - License URI: https://github.com/richtabor/MerlinWP/blob/master/LICENSE,
* jquery-timepicker used https://github.com/jonthornton/jquery-timepicker
* Rate Yo! used https://github.com/prrashi/rateYo - License URI: https://github.com/prrashi/rateYo/commit/f3812fe96c38b08627d209795176053550fb1427
* Aqua Resizer used http://aquagraphite.com - License URI: WTFPL - http://sam.zoy.org/wtfpl/


== Frequently Asked Questions ==

= How to install and use this Schema plugin? =

After you Active this plugin, just go to Dashboard > Structured data > Settings, and then setup the default settings, after that, just go back to 'Structured Data' click on Add New and add any data that you like!  

= How do I report bugs and suggest new features? =

You can report the bugs for this Schema plugin [here](https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues)

= Will you include features to my request? =

Yes, Absolutely! We would suggest you send your feature request by creating an issue in [Github](https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/new/) . It helps us organize the feedback easily.


= How do I get in touch? =
You can contact us from [here](http://structured-data-for-wp.com/contact-us/)

== Changelog ==

= 1.55 (06 February 2026) =
* Fixed: Error appears after recent update #2379
* Enhancement: When the Knowledge Graph is disabled and the defragment option is enabled, it adds an empty @type to the @graph in the schema markup #2383
* Enhancement: Added educationRequirements and experienceRequirements Fields to Job Posting Schema #2390
* Feature: Add website schema seperately as we have article and other schema #2394
* Enhancement: Custom schema improvement #2395
* Fixed: Custom JSON Schema: <script type="application/ld+json"> tags removed on save after latest update #2399
* Enhancement: Do not include empty properties in JSON-LD when generating schema #2403
* Feature: Create compatibility with omnireview and generate schema #2404
* Fixed: Reviewer image render issue in schema markup #2405

= 1.54.2 (20 January 2026)
* Added: Omni-review Banner integration #2384

= 1.54.1 (17 January 2026) =
* Fixed: Vulnerability reported by Wordfence Security and researched by type5afe #2395
* Fixed: Role based access issue #2398

= 1.54 (31 December 2025) =
* Fixed: Heading and description translation issue in schema due to incomatibility with tranlatepress #2373
* Feature: Added more fields in Physician schema #2375
* Fixed: Double star rating options appearing in comment box when enabling comment rating module #2378
* Fixed: Keywords field not working with blog posting schema #2381
* Feature: Added compatibility for Capterra platform #2382
* Fixed: Removed promotion banner BFCM #2386
* Feature: Added compatibility for Meta Box #2388
* Fixed: Issue with course schema #2391
* Fixed: Review collection sorting issue #2392

= 1.53 (28 November 2025) =
* Promotion Banner BFCM #2386
* Added Fields: legalName, contactPoint to the Organization schema #2385
* Tested Upto WordPress 6.9.

= 1.52 (30 October 2025) =
* Fixed: Time issue with LiveBlogPosting schema #2371
* Enhancement: Duplicate schema issue in the review collection #2372
* Fixed: Code improvement #2376
* Fixed: Vulnerability reported by Wordfence Security

= 1.51 (07 October 2025) =
* Feature: Add Guide schema type #2313
* Enhancement: Improvement in JobPosting schema #2347
* Enhancement: Added organization type "General" in knowledge graph #2356
* Enhancement: Added award schema for book #2361
* Fixed: Improvement in Person schema #2363
* Fixed: Global schema modification issue in Person schema #2365
* Enhancement: Improvement in SiteNavigationElement Schema #2369

= 1.50 (02 September 2025) =
* Enhancement: Fetch YouTube API Data from post's ACF Oembed field #2311
* Feature: Added Certification schema type #2338
* Feature: WPML compatibility with language wise menu translation #2348
* Enhancement: width and height of image appears as a strings #2350
* Fixed: Issue with FAQ schema on Woocommerce brands #2351
* Enhancement: Microdata clean up improvement #2352
* Fixed: Vulnerability reported by WPScan Security
* Fixed: Code improvement with polylang add-on #2353

= 1.49 (13 August 2025) =
* Fixed: Improvement for AIO SEO compatibility #2314
* Fixed: Incompatibility with PublishPress Permissions Due to Conflicting Select2 Library Usage #2327
* Fixed: Unable to modify ItemList schema #2333
* Fixed: Undefined array key saswp_eop_provider_address_locality in class-saswp-output-service.php #2337
* Fixed: Picking wrong url when manually adding Author image URL #2339
* Enhancement: Improvement in elementor faq block #2340
* Feature: LiveBLogPosting Gutenberg block youTube shorts styling #2341
* Feature: Added a Filter To Disable Schema For a specific Page and Post #2344

= 1.48 (16 July 2025) =
* Enhancement: Added the offer URL field to the product schema #2308
* Fixed: Review schema displays incorrect item type in pages #2309
* Enhancement: Updated 'Return Type' Property in Product Merchant Schema Markup #2319
* Enhancement: Review schema date published improvement #2320
* Feature: Strong testimonials avada builder improvement #2324
* Fixed: Added image property in Recipe and BlogPost Schema #2332
* Feature: Added new properties to vehicle schema #2329
* Fixed: Markup code improvement #2334

= 1.47 (13 June 2025) =
* Feature: Added Place schema type #2272
* Feature: Added Game schema type #2294
* Fixed: Fatal Error After Upgrading to v1.46 (wp_is_block_theme Undefined) #2305
* Fixed: Job location delete issue with JobPosting schema #2306
* Feature: Course schema compatible with Amelia #2307
* Enhancement: Added a new field to newsArticle schema #2310
* Fixed: Issue with free google reviews with location code #2316

= 1.46 (13 May 2025) =
* Feature: Comments Review Module #2260
* Fixed: Issue in associatedMedia property of NewsArticle  schema #2299
* Enhancement: Added new properties StreetAddress and AddressRegion to Service schema #2300
* Enhancement: Added filter hook for image attachment for custom url handling #2301
* Enhancement: Added Support for mainEntityOfPage property in VideoObject schema #2302
* Enhancement: Code improvement #2303

= 1.45 (5 May 2025) =
* Enhancement: Added about and sameAs property in WebPage schema #2049
* Enhancement: Added the associatedMedia property in the NewsArticle schema #2216
* Enhancement: Added new fields to LiveBlogPosting gutenberg block #2288
* Fixed: Issue with ItemList schema on taxonomy #2289
* Fixed: Tested with new version of wordpress i.e. 6.8v #2290
* Enhancement: Added a contentLocation field in the NewsArticle schema #2291
* Enhancement: Code improvement for image in the markup #2292
* Enhancement: Fixed Incorrect upvoteCount/downvoteCount Output #2293

= 1.44 (4 April 2025) =
* Enhancement: Added Citation field in Blogposting schema #1946
* Feature: Added Profilepage schema type #2065
* Feature: Added CriticReview schema type #2100
* Feature: Added Address Field for Product Seller Organizations #2203
* Enhancement: Added Event fields in LiveBlogPosting gutenberg block #2277
* Fixed: Live Blog Update date and time picker issue #2278
* Enhancement: Added option for Embed of YouTube, X etc #2280
* Enhancement: Live Blog Update image placement improvement for gutenberg block #2281
* Enhancement: Live blog update UI improvement #2282
* Enhancement: Live blog update gutenebrg block improvement #2283
* Enhancement: Place new published live blog updates on top #2284
* Enhancement: TimeZone display improvement to Live Blog Update on Frontend #2285


= 1.43 (25 March 2025) =
* Enhancement: Improvement in VacationRental schema properties #2109
* Enhancement: Featured image of the latest article is automatically fetched in the NewsMediaOrganization schema #2214
* Enhancement: Featured image of the latest article is automatically fetched in the NewsMediaOrganization schema #2214
* Feature: DiscussionForumPosting Schema compatibility with BBPress Forum Within BuddyPress Group #2256
* Fixed: Conflict with Yoast Seo helper #2262
* Feature: Added a Gutenberg Block for LiveBlogPosting schema Update #2264
* Fixed: LiveBlogPosting URL parameter placement issue #2265
* Enhancement: Improvement in LiveBlogPosting schema properties #2266
* Enhancement: Added time property LiveBlog Update in LiveBlogPosting schema #2269
* Fixed: Location property issue in LiveBlogPosting #2270
* Fixed: Improvement in global modification for author and editor for NewsArticle schema #2275

= 1.42 (6 March 2025) =
* Fixed: Resolved issue with Airbnb Rooms platform reviews #2179
* Fixed: Resolved issue with TripAdvisor platform reviews #2225
* Enhancement: Setting page UI Changes #2226
* Fixed: Valid Through date issue while modifying post individually #2253
* Feature: Added ImageGallery Schema type and made it's compatibility with FooGallery plugin  #2254
* Feature: Added Location type attribute in LiveBlogPosting schema #2255
* Fixed: Resolved issue with CreativeWork schema #2258
* Feature: Added MediaGallery schema #2259
* Fixed: Author image issue in schema markup #2261
* Enhancement: Added Coverage Time in LiveBlogPosting schema  #2263
* Fixed: Review collection nonce issue #2267

= 1.41 (15 February 2025) =
* Fixed: jQuery undefined issue #2086
* Feature: Added compatibility with Easy Liveblogs plugin #2223
* Feature: Added Q&A Schema Compatibility with wpForo #2234
* Feature: Added new fields in NewsArticle schema #2238
* Enhancemant: Existing Comments Assigned One-Star Rating After Activating Review Module #2241
* Fixed: Deprecated Errors and Warnings #2242
* Feature: Added new attributes to WebPage schema #2244
* Fixed: PHP textdomain translation notices on WordPress 6.7 #2246
* Fixed: context attribute is missing in Person schema #2249
* Enhancement: Merchant Listing schema Invalid string length in field "name" #2250

= 1.40 (17 January 2025) =
* Feature: Added compatibility with translatepress plugin #2090
* Enhancement: Added Weight Field to Product Schema with Support for Multiple Units #2221
* Feature: Added compatibility with WPBakery page builder accordion #2228
* Fixed: Houzz platform reviews compatibility issue #2229
* Fixed: Homestars reviews compatibility issue #2230
* Fixed: Code Improvement #2232
* Fixed: Issue with creating new review collection #2233
* Fixed: Deprecated error #2236
* Enhancement: Fixed the format date time issue with timezone offset #2239

= 1.39 (04 December 2024) =
* Major Feature: Schema Template Builder #2138
* Feature: Added Genre and Actor fields for TVSeries schema #2207
* Fixed: Tested with new version of wordpress i.e. 6.7v #2209
* Fixed: Fixed issue with FAQ repeater field #2215
* Enhancement: Added some modification in VideoObject schema #2218
* Fixed: PHP translation notices on WordPress 6.7 #2219
* Fixed: PHP Notice releated to comment id #2220
* Enhancement: Added hasCourseInatance attribute for LearnPress plugin compatibility #2224

= 1.38.1 (06 November 2024) =
* Enhancement: Rankmath keyword issue with Category and Tag for WebPage schema #2201
* Enhancement: Primary image size was not reflected properly in Schema #2213

All changelog available on [GitHub](https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/releases).