Improved: Changed product tag URL slug from naibb2pr-product-tag to product-tag for cleaner, more SEO-friendly URLs.
New Feature: Added Template Override guide to the Help tab, documenting page templates and partial template overrides.
4.2.0
New Feature: Inline contact form shortcode [naibabiji_b2b_contact_form] — embed a standalone contact form on any page without product association.
New Feature: Contact form email notifications display page title instead of product name.
New Feature: Contact Form source filter in Customer Inquiries admin list.
New Feature: Captcha extension hooks (naibabiji_contact_form_validate filter, naibabiji_contact_form_before_submit action).
Improved: Customer Inquiries admin page fully redesigned to support all source types (AI Chat, Inquiry Form, Contact Form).
Improved: Inquiries list now shows Context column (page title for contact forms, product link for others), parsed contact names, and 30-word message preview.
Improved: Detail modal for form submission inquiries with full contact info, message, and context display.
Improved: Email validation on contact form (client-side regex check).
Improved: Automatic nonce refresh for cached pages — contact form resubmits transparently on nonce expiry.
4.1.0
New Feature: Built-in Inquiry Form Mode with unified design.
New Feature: Premium UI System featuring Glassmorphism and responsive 2-column layout.
New Feature: Intelligent AI Fallback system that automatically switches to the inquiry form on technical errors.
Improved: Standardized form controls across all plugin components.
Improved: Optimized database query security and satisfied WordPress coding standards.
Fixed: Resolved various output escaping and linting warnings in templates and settings.
4.0.1
Fixed: Action hook callback issue in class-leads-handler.php – added run_cleanup_for_cron() wrapper method to prevent return values in cron callbacks.
Improved: Code quality validated with PHPStan Level 3 static analysis.
Changed: Plugin name updated to comply with WordPress.org repository guidelines (removed “Plugin” from name).
4.0.0
New Feature: Industrial AI Support: Integrated AI customer service system with SPEC v2 protocol for automated inquiry handling.
New Feature: Archive Page SEO Content: Added ability to add custom content to the top and bottom of product archive/category/tag pages.
New Option: Hide Title: Added option to hide default titles on archive, category, and tag pages for flexible header design.
Improved: Settings Page Layout: Reorganized settings page with tab-based navigation for better user experience.
AI Context Awareness: Automatic product data extraction (SKU, Price, Description) for precise AI responses.
Shortcode Generator: Visual tool in admin dashboard for easy shortcode creation with real-time preview.
Production Security: Enhanced all AJAX and save operations with strict nonce verification.
3.1.0
Simplified: Removed the confusing “Enable Inquiry Button Globally” switch from the settings page.
Improved: Inquiry button logic now defaults to “Enabled” for all products unless explicitly disabled individually.
Fixed: Resolved a bug where the inquiry button was not checked by default when publishing new products.
3.0.2
Fixed: Short description content with inline HTML elements (e.g. <strong>) was rendered on a single line instead of separate paragraphs due to wpautop() not handling single line breaks between inline elements correctly.
Improved: Line endings are now normalized and single newlines are converted to double newlines before wpautop() processing, ensuring each line gets its own <p> tag.
3.0.1
Fixed: Resolved Google Structured Data “Missing price” and “Missing SKU” errors by adding an optional price field and optimizing JSON-LD generation.
Improved: Schema.org “Offer” data is now only generated if a price is specified, ensuring B2B compatibility.
Improved: Enhanced the description in the admin settings for Schema.org markup with important usage tips.
3.0.0
Major Architectural Rebirth: Transitioned to a professional model-driven architecture for enterprise-grade scalability.
New Product Model: Centralized all data access through the Naibabiji_B2B_Product class, ensuring consistent logic and cleaner templates.
Efficient Grouped Meta: All product-specific metadata is now stored in a single, high-performance array, reducing database bloat.
One-Click Migration Tool: Added an automated utility in the settings page to safely upgrade legacy product data to the new v3.0.0 format.
Shortcode Generator: Introduced a brand new visual tool in the admin dashboard for easy shortcode creation with real-time preview.
Production Security: Enhanced all internal AJAX and save operations with strict nonce verification and context-aware escaping.
Modular SEO: Decoupled Schema.org logic into a standalone builder for improved rich result precision.
2.0.3
Added smooth transition animation when switching product detail page images
Added loading spinner animation during image switch, with color synced to admin button color setting
Added opacity transition effect during image loading for better user experience
Thumbnail active border color now follows the admin button color setting
Added language file direct access protection for zh_CN translation
2.0.2
Changed subcategory display from vertical list to horizontal buttons for better visual balance
Synchronized subcategory button styles with global plugin button settings (colors, hover effects, border radius)
Improved responsive layout for subcategory navigation on mobile devices
2.0.1
Fixed button color settings not taking effect due to CSS specificity conflicts with themes
Changed CSS background shorthand to background-color to allow dynamic inline styles to override defaults
Added product card hover border color to follow the admin button color setting
2.0.0
Major Feature Update: Separated SEO content area into independent top and bottom sections
Added ability to set different SEO content for page top and bottom positions
Each position has independent enable/disable toggle
Automatic data migration from old single content field to new dual-field structure
Improved flexibility and control over category/tag page SEO optimization
Breaking change: Removed position dropdown, now using separate editors for top/bottom content
New backend product display column count setting for frontend products
1.0.13
Fixed foreach() warning error in sidebar widget processing
Added type checking for widget_ids to prevent type mismatch errors
Improved data validation for WordPress sidebar widgets configuration
Enhanced plugin stability and error handling
1.0.12
Enhanced CSS loading logic with sidebar widget shortcode detection
Fixed CSS styles not working in sidebar widgets
Smart detection of shortcode content on pages, loading CSS resources only when needed
Improved responsive design for better product card display on mobile devices
1.0.11
Added Elementor shortcode support in SEO content area
Standardized function and variable prefixes to comply with WordPress plugin best development practices
1.0.10
Added toggle to enable/disable product meta information display
Improved translations and updated localization files
1.0.9
Added button color customization entry for front and back, managers can quickly adjust styles to match brand vision
Replace the product short description with the fill-in area, use a rich text editor to optimize the input experience and improve Gutenberg compatibility
1.0.8
Changed product category URL slug from ‘naibb2pr-product-category’ to ‘product-category’
Improved URL structure for better SEO and user experience
Note: After updating, please deactivate and reactivate the plugin or visit Settings > Permalinks and save to refresh rewrite rules
1.0.7
Changed product archive page URL from ‘naibb2pr-products’ to ‘products’
Fixed PHP syntax error in admin settings page
1.0.6
Fixed an issue with WordPress official review feedback
Optimized internal connection styles and script loading to comply with WordPress best practices
Improved sanitize_callback parameter configuration of register_setting () function
Make sure all custom article types and taxonomies are named with unique prefixes
Removed the direct < style > and < script > tags and replaced them with wp_add_inline_style () and wp_add_inline_script () functions
Enhanced code security and WordPress compatibility
Fixed a PHP syntax error
1.0.5
Optimize the display of search results page
Removed deprecated load_plugin_textdomain() function call for WordPress 4.6+ compatibility
Enhanced security with improved nonce verification in form processing
Fixed input sanitization in POST and GET request handlers
Improved security logging mechanism to follow WordPress best practices
Replaced direct database query with WordPress API functions in meta fields handling
1.0.4
Enhanced security in AJAX handlers
Improved nonce verification and input sanitization
Added recursive array sanitization
Added GET parameter sanitization method
Fixed permission checks in admin functions
Improved security event logging
1.0.3
Front-end display bug fixes
1.0.2
Multi-language support
1.0.1
Modify the code to meet the requirements for submitting to the official WordPress repository