=== ID Business Listing ===
Contributors: insightdezign, freemius
Tags: schema, json-ld, local business, structured data, seo
Requires at least: 5.6
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.6.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage local business structured data (Schema.org JSON-LD) with optional WHMCS integration.

== Description ==

Business Listing lets you configure your business information and automatically outputs Schema.org JSON-LD structured data on your homepage and contact pages.

**Features:**

* 100+ business types across 15 categories
* Cascading category/type dropdowns for easy selection
* Full address, contact, hours of operation, and social profile fields
* Type-specific fields (cuisine, amenities, star rating, etc.)
* Business Hours widget and `[business_hours]` shortcode
* Live schema preview in the admin
* REST API endpoint for external updates (WHMCS integration)
* API key authentication with timing-safe validation

== Installation ==

1. Upload the `id-business-listing` folder to `/wp-content/plugins/`.
2. Activate the plugin through the Plugins menu.
3. Go to Tools > Business Listing and fill in your business data.

== Frequently Asked Questions ==

= Where does the schema markup appear? =

The JSON-LD structured data is output on the homepage and any page with the slug "contact", "contact-us", "get-in-touch", or "our-location".

= How do I display business hours? =

Use the "Business Hours" widget in any widget area, or use the `[business_hours]` shortcode in any post or page.

= What shortcode options are available? =

* `show_closed` - "yes" or "no" (default: "yes") - Show or hide closed days
* `highlight_today` - "yes" or "no" (default: "yes") - Highlight the current day
* `time_format` - "12" or "24" (default: "12") - 12-hour or 24-hour format
* `class` - CSS class name for custom styling (e.g., `blm-hours-card` or `blm-hours-compact`)

== Screenshots ==

1. Settings page with business information fields
2. Business hours configuration
3. Live schema preview
4. Business Hours widget on the frontend

== Changelog ==

= 1.6.1 =
* Added IDVE (Insight Dezign Visual Editor) block integration for `[business_hours]` shortcode.
* Added WPBakery Page Builder element integration for `[business_hours]` shortcode.

= 1.6.0 =
* Renamed plugin from "Business Listings Manager" to "ID Business Listing"
* Moved settings page from Settings to Tools menu
* Added Freemius SDK integration
* Added uninstall cleanup handler

= 1.5.0 =
* Added Business Hours Widget for sidebar display
* Added `[business_hours]` shortcode with multiple display options
* Added help tooltips on all base fields

= 1.4.0 =
* Added help tips for all type-specific fields
* Multi-line fields now properly output as JSON arrays in schema

= 1.3.0 =
* Two-way editing: WordPress admin can edit listings when connected to WHMCS

= 1.2.0 =
* Added cascading category/type dropdowns for easier business type selection

= 1.1.0 =
* Expanded business types from 7 to 100+ types across 15 categories

= 1.0.0 =
* Initial release
