=== 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.8
Requires PHP: 5.6.20
Stable tag: 1.48
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) 

### 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
* [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, check [Woocommerce Compatibility For Schema](https://structured-data-for-wp.com/extensions/woocommerce-compatibility-for-schema/), [Cooked Compatibility For Schema](https://structured-data-for-wp.com/extensions/cooked-compatibility-for-schema/) and We are going to add more.

### 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.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

= 1.38 (02 November 2024) =
* Feature: Added ProductGroup Schema Type #2071
* Feature: Added option to show/hide schema markup inside elementor widget #2171
* Enhancement: Fixed issue of correct image in ImageObject schema #2188
* Enhancement: Schema meta fields should not be appeared inside custom fields. #2189
* Feature: Automated the faqs data added manually in classic editor #2193
* Fixed: Code improvement  #2194
* Fixed: ACF time picker conflict issue in block editor #2195
* Enhancement: Schema markup shown for the AMP pages showing the same markup as non-AMP #2199
* Enhancement: Rankmath keyword issue with Category and Tag for WebPage schema #2201
* Enhancement: Added FAQ compatibility with Elementor accordian #2202
* Feature: Added Compatibility with wpForo plugin #2204
* Enhancement: Issue with adding a live YouTube video to post #2205
* Feature: Added compatibility with the plugin RealtyPress Premium #2206

= 1.37 (09 October 2024) =
* Fixed: Avatars are disabled still they are being added to the schema markup #2184
* Feature: Added compatibility with Discout Rules plugin #2190
* Fixed: Issue with Taxonomy placement setup #2191
* Fixed: ACF time picker conflict issue in block editor #2195

= 1.36 (18 September 2024) =
* Feature: Added URL Parameter placement to targer URL's #2117
* Enhancement: Categories text appears in headline fields #2155
* Fixed: Conflict between the DiscussionForumPosting schema placement and the wpForo plugin #2157
* Enhancement: Removed the Article type from webpages schema #2158
* Feature: Added missing field in car schema #2159
* Feature: Jackrabbit compatibility with course and event schema #2163
* Feature: Added compatibility with the WP Job Board Pro plugin #2166
* Fixed: Warnings appearing on user end #2167
* Fixed: Time picker issue with plugin Advanced Custom Fields in the Admin mode #2173
* Feature: Added compatability for ACF CPT with JobPosting schema #2174
* Enhancement: Delete files after importing settings #2176
* Enhancement: Fixed GTIN12 issue with the product schema for variable products #2180
* Fixed: Comments was not appears in Recipes #2182

= 1.35 (02 August 2024) =
* Enhancement: Added new properties in LodgingBusiness > Hotel schema #2105
* Fixed: Feature image size duplicate issue in schema markup #2140
* Fixed: Issue with country field missing in the schema markup while modifying the schema output (Local Business) #2147
* Fixed: A fatal error issue in the latest update of 1.34.2 #2148
* Fixed: FAQ Block not working on Divi Builder #2149
* Fixed: PHP warnings on schema types page #2150
* Fixed: ACF fields are unclickable when the plugin is activated and an error appears in the Console #2152
* Fixed: The ReturnFeesCustomerResponsibility field is missing in the product schema #2153

= 1.34.2 (18 July 2024) =
* Fixed: Error after version 1.34.1 update #2144
* Fixed: Tested with new version of wordpress i.e. 6.6v #2145

= 1.34.1 (16 July 2024) =
* Fixed: Fatal error after recent update #2142 

= 1.34 (16 July 2024) =

* Bug: Fixed vulnerability repoted by Wordfence

= 1.33 (27 June 2024) =

* Enhancement: Schema markup is being added to the post types even if set to "Draft" #2118
* Feature: Added an option to enable only custom schema #2121
* Fixed: Warning messages when trying to preview pages after making changes #2126
* Fixed: Warning of Realestate Schema #2127
* Fixed: Conflict issues with WP-Multilang Plugin #2128
* Enhancement: Added an educationalAlignment property to Learning Resource Schema. #2131
* Enhancement: Added Event Schedule repeater property to Event Schema #2133
* Fixed: A warning Undefined array key "saswp_product_schema_rp_country_code" #2134

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