這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Unique Field Guard For ACF

描述

Unique Field Guard For ACF is a WordPress plugin designed to ensure the uniqueness of Advanced Custom Fields (ACF) values. By automatically checking for duplicates during post saves, this plugin helps maintain data integrity and prevents the reuse of the same values across your site for fields that needs to be unique.

Key Features

  • Uniqueness Verification: Automatically checks for duplicate values in specified ACF fields.
  • Admin Notices: Displays clear notifications if a duplicate value is found, guiding users to resolve the issue.
  • Seamless Integration: Works with ACF and is compatible out of the box.
  • Customizable Settings: Configure which ACF fields require uniqueness checks through the plugin’s settings.
  • Secure and Reliable: Uses WordPress best practices for validation and redirection.

Installation

  1. Upload the unique-field-guard-for-acf folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to the ACF custom field under validation tab and activate the checkbox.

Usage

  • Once activated, the plugin will automatically check for duplicate values in the ACF fields you configure.
  • If a duplicate is detected, the user will be redirected back to the edit page with an admin notice informing them of the issue.

Advanced Field Type Support

  • Extend unique validation to more advanced field types, such as select fields, relationship fields, or repeater fields.
  • Added settings page to configure which fields require uniqueness checks.

Custom Error Handling

  • Allow users to define their own error messages for different scenarios.
  • Support for multiple languages and localization of error messages.

Dashboard and Reports

  • Generate and display reports on fields with duplicate values.
  • Provide an admin dashboard widget to monitor field uniqueness status.

Admin Interface Enhancements

  • Add visual indicators in the admin UI for fields that have uniqueness constraints.
  • Allow users to apply or remove unique constraints in bulk.

Enhanced Performance

  • Automate database indexing for fields with unique constraints.
  • implementation of caching mechanisms.

API Integration

  • Expose endpoints for managing and configuring unique field settings via the WordPress REST API.

User Permissions and Roles

  • Provide settings to control who can configure or manage unique constraints based on user roles.
  • Limit access to premium features based on user roles or subscription levels.

Support and Documentation

  • Offer dedicated support channels for premium users.
  • Provide detailed documentation, including video tutorials and advanced use cases.

Join the waiting Join the waiting List
to be notified when the PRO version is released.

Upgrade to PRO Upgrade to PRO

Thank you for using Unique Field Guard For ACF. Your feedback and suggestions are welcome!

螢幕截圖

  • Name and Activation of the plugin.
  • location of the checkbox on the custom field.
  • location of the unique checkbox activated on the custom field.

常見問題

Q: Does this plugin work with all ACF field types?

A: This version supports text, number, and basic fields. Advanced field support, like select or repeater fields, is planned for the PRO version.

Q: Can I customize the error message?

A: Currently, the error message is fixed. The PRO version will allow custom error messages.

Q: How do I specify which fields require unique values?

A: In the ACF field editor, you can enable the unique constraint for each field under the validation tab.

Support

For support or feature requests, please contact us via Support Page URL

評價

There are no reviews for this plugin.

貢獻者及開發者

“Unique Field Guard For ACF” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Unique Field Guard For ACF 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

  • Initial release with core functionality to check for duplicate ACF field values.