| 开发者 | naibabiji |
|---|---|
| 更新时间 | 2026年5月11日 11:19 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权网址: | 版权信息 |
[naibabiji_b2b_products] and [naibabiji_b2b_product_categories] for flexible display/wp-content/plugins/naibabiji-b2b-product-showcase/Settings -> Product Showcase to customize your display options这个插件是为 B2B 企业设计的,专注于产品展示和查询功能,没有电子商务功能,如购物车或支付。
You can create the following template files in your theme directory to override the default templates:
single-naibb2pr_products.php - Single product pagearchive-naibb2pr_products.php - Product archive pagetaxonomy-naibb2pr_product_category.php - Product category pagetaxonomy-naibb2pr_product_tag.php - Product tag pageThe plugin provides the following shortcodes:
[naibabiji_b2b_products] - Display product grid[naibabiji_b2b_product_categories] - Display product categories[naibabiji_b2b_contact_form] - Display an inline contact form for collecting messages是的!您可以在任何文本小工具中使用插件的短代码,具有以下功能: Key Features:
Appearance → Widgets
[naibabiji_b2b_products limit="3" columns="1" show_category="false" show_excerpt="false"]
此问题已在 v1.0.13 中修复。如果您仍然遇到样式问题,请尝试:
Inquiry Type is set per product (None / Standard / Bulk) and defines what kind of inquiry experience that single product offers. Inquiry Mode is a site-wide setting (External Link or Built-in Form) that only affects Standard-type products — it controls whether the inquiry button links to an external URL or opens a popup. Bulk-type products always use the built-in bulk inquiry form regardless of this setting.
The plugin enforces a rate limit of 3 submissions per IP address within 5 minutes to prevent spam. If you need to test frequently or want a higher threshold, install a captcha plugin that integrates through the naibabiji_contact_form_validate filter.
naib_get_lead_detail endpoint, avoiding large JSON in HTML data attributes.inquiry_type and inquiry_data columns to the leads table with idempotent checks..active CSS class on overlay/panel for compatibility with plugin's shared Glassmorphism style system.naib-field-full class.<tr> label headers) when External Link mode is selected, eliminating orphaned section titles on the settings page.naibb2pr-product-tag to product-tag for cleaner, more SEO-friendly URLs.[naibabiji_b2b_contact_form] — embed a standalone contact form on any page without product association.Contact Form source filter in Customer Inquiries admin list.naibabiji_contact_form_validate filter, naibabiji_contact_form_before_submit action).class-leads-handler.php - added run_cleanup_for_cron() wrapper method to prevent return values in cron callbacks.:root CSS variables for better theme synchronization.<strong>) was rendered on a single line instead of separate paragraphs due to wpautop() not handling single line breaks between inline elements correctly.wpautop() processing, ensuring each line gets its own <p> tag.Naibabiji_B2B_Product class, ensuring consistent logic and cleaner templates.background shorthand to background-color to allow dynamic inline styles to override defaults