# Changelog

All notable changes to the ID Business Listing WordPress plugin will be documented in this file.

## [1.6.1] - 2026-02-15

### Added
- IDVE (Insight Dezign Visual Editor) block integration for `[business_hours]` shortcode
- WPBakery Page Builder element integration for `[business_hours]` shortcode

## [1.6.0] - 2026-02-13

### Changed
- Renamed plugin from "Business Listings Manager" to "ID Business Listing"
- Moved settings page from Settings menu to Tools menu
- Updated text domain to `id-business-listing`
- Updated plugin file from `business-listings-manager.php` to `id-business-listing.php`

### Added
- Freemius SDK integration for future pro features
- Uninstall handler to clean up options on plugin deletion
- FAQ section in readme.txt
- WordPress.org metadata (Domain Path, Requires at least, Requires PHP)

## [1.5.0] - 2026-02-04

### Added
- Business Hours Widget: Display hours in any widget area with customizable options
- Business Hours Shortcode: `[business_hours]` to display hours anywhere in content
- Widget/shortcode options: show/hide closed days, highlight today, 12/24 hour format
- Frontend CSS with multiple layout options (default, compact, card)
- Help tooltips on all base fields (Business Name, Category, Type, Description, Address, Phone, Email, Website, Logo, Price Range, Hours, Social)

### Changed
- Tooltips now appear to the right of the help icon to avoid WordPress admin menu overlap

## [1.4.0] - 2026-02-03

### Added
- Help tips for all type-specific fields with clear input instructions
- Multi-line fields now properly output as JSON arrays in schema (knowsAbout, servesCuisine, brand, etc.)

### Changed
- Converted single-value text fields to textarea for multi-value support: serves_cuisine, auto_brands, medical_specialty, currencies_accepted, sport
- Schema preview now handles all 100+ business types with generic field mapping
- Standardized help text format: "One per line: e.g., Example 1, Example 2"

### Fixed
- Schema output for specialties/known_for fields now generates proper arrays instead of newline-separated strings
- All type-specific fields now correctly appear in schema preview and JSON-LD output

## [1.3.0] - 2026-02-03

### Added
- Two-way editing: WordPress admin can now edit listings even when connected to WHMCS
- Warning banner when saving while connected, instructing users to use "Pull from Site" in WHMCS

### Changed
- Removed read-only restriction on fields when connected to WHMCS
- Local saves are now allowed regardless of connection status

## [1.2.0] - 2026-02-03

### Added
- Cascading category/type dropdowns for easier business type selection
- Business Category dropdown filters available Business Types
- Dynamic type dropdown updates based on selected category

### Changed
- Business type selection now uses two-step process: Category first, then Type

## [1.1.0] - 2026-02-03

### Added
- Expanded business types from 7 to 100+ types across 15 categories
- New categories: Health & Beauty, Food & Drink, Automotive, Home Services, Medical & Health, Professional Services, Financial Services, Legal Services, Lodging & Travel, Retail & Shopping, Fitness & Recreation, Education & Childcare, Entertainment & Events, Nonprofit & Community
- NGO and Nonprofit Organization types with mission statement and 501(c) status fields
- Places of worship: Church, Mosque, Synagogue, Buddhist Temple, Hindu Temple
- Government and community types: Government Office, Fire Station, Police Station, Cemetery, Crematorium
- Type-specific additional fields for each business category
- `get_types_grouped_by_category()` helper method for building grouped dropdown menus
- `get_categories()` helper method returning ordered list of categories
- Category property added to all business types for UI grouping

### Changed
- Hotel type moved to Lodging & Travel category with expanded amenities options
- Store type renamed to "Store (General)" and moved to Retail & Shopping category
- Medical type renamed to "Medical Business (General)"

## [1.0.0] - 2026-01-15

### Added
- Initial release
- Local Business schema markup generation (JSON-LD)
- WHMCS integration via REST API
- Admin settings page for manual configuration
- Support for 7 business types: Local Business, Restaurant, Medical Business, Auto Dealer, Store, Professional Service, Hotel
- Schema output on homepage and contact pages
- Media library integration for logo/image selection
- Opening hours configuration
- Social media profiles support
- Geo coordinates support
