=== Frontend Editor ACF ===
Contributors: wpvibes, anandau14
Tags: acf, advanced custom fields, frontend editing, custom fields, acf editor
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.0
Stable tag: 1.0.3
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Edit Advanced Custom Fields (ACF) values directly from your site's frontend

== Description ==

**Frontend Editor ACF lets you edit Advanced Custom Fields values directly from your site's frontend, without going to wp-admin.**

When you are logged in as admin and visit any page, post, or custom post type that has ACF fields assigned, an **Edit ACF** option appears in the WordPress admin toolbar. Click it, and a clean editor panel slides open on the right side of the screen. Update any field value, click Save, and the changes are reflected on the live page instantly.

No backend. No page reload. No context switching.

---

### 🚀 Free Features

1. **Edit ACF Fields from the Frontend** – Open the editor from the admin toolbar on any page that has ACF fields. No need to navigate to the WordPress backend to update field values.
2. **Wide Field Type Support** – Edit all standard ACF field types directly from the panel (see full list below).
3. **Conditional Logic Support** – ACF field conditional logic is fully respected — fields show and hide in the panel exactly as configured in your ACF field group.
4. **Panel Position Control** – Choose whether the editor panel opens on the left or right side of the screen, and set the panel width to suit your workflow.
5. **Post Type Visibility Settings** – Control which post types show the ACF editor option — limit it to only the post types where you actually need frontend editing.
6. **Unsaved Changes Warning** – If you try to close the panel with unsaved changes, the plugin warns you before any data is lost.
7. **Accent Color Customization** – Set a custom button color to match your brand or site style.
8. **Legacy Mode** – Use the classic editor interface if preferred. Enable with: `add_filter('feacf_use_legacy_form', '__return_true');`
9. **Works with Any Theme** – The editor panel runs independently of your theme's styling and works reliably across all WordPress themes.
10. **No Coding Required** – Fully visual interface. No code knowledge needed to install, configure, or use.

---

### Supported ACF Field Types

Frontend Editor ACF supports editing all of the following ACF field types from the frontend panel:

**Text & Content**
* Text
* Textarea
* Number
* Range
* Email
* URL
* Password
* WYSIWYG Editor
* oEmbed

**Media**
* Image
* File

**Choice Fields**
* Select
* Checkbox
* Radio Button
* Button Group
* True / False

**Relational**
* Page Link

**Date & Time**
* Date Picker
* Date Time Picker
* Time Picker

**Other**
* Color Picker

---

### Why choose Frontend Editor ACF?

**The fastest way to update ACF field values**
Stop navigating to wp-admin, finding the post, scrolling to the ACF fields, making the change, and going back to the frontend to verify it. With Frontend Editor ACF, you update the value right where you can see it — on the live page — and the result is instant.

**Full ACF conditional logic support**
Conditional logic configured in your ACF field groups is fully respected inside the editor panel. Fields show and hide dynamically based on the same rules you set up in ACF, so the editing experience mirrors what ACF is designed to do.

**Granular control over where it appears**
The settings screen lets you choose exactly which post types show the frontend editor option. If you only want it on a specific custom post type and not on regular pages or posts, you can configure that precisely.

**Lightweight and fast**
Optimized code with no extra resources loaded for regular visitors. Your site speed is completely unaffected — the editor only loads for logged-in users with editing permissions.

**Expert Support**
We have a highly efficient support team ready to help. Ask questions in the Support Forum or contact us directly.

---

### 🧑‍💻 Documentation and Support

* Extensive [Documentation](https://docs.wpvibes.com/frontend-editor-acf/?utm_source=wporg&utm_medium=feacf&utm_campaign=readme) for every feature and setting.
* Fast support via the [Support Forum](https://wordpress.org/support/plugin/frontend-editor-acf/) or our [Contact Page](https://wpvibes.com/get-support/?utm_source=wporg&utm_medium=feacf&utm_campaign=readme).
* Full details at [WPVibes.com](https://wpvibes.com/?utm_source=wporg&utm_medium=feacf&utm_campaign=readme)

---

### Other Plugins by WPVibes

✅ [Frontend Product Editor for WooCommerce](https://wordpress.org/plugins/frontend-product-editor/) – Edit WooCommerce product data — price, stock, variations, and more — directly from your storefront without opening wp-admin.
✅ [Form Vibes](https://wordpress.org/plugins/form-vibes/) – Save Contact Form 7, Elementor, WPForms & Gravity Forms entries to database. View, filter, and export form submissions.
✅ [Dynific Addons for Elementor](https://wpbuilderaddons.com/dynific-addons-elementor/?utm_source=wporg&utm_medium=readme&utm_campaign=plugin_landing&utm_content=dynific_addons) – Creative dynamic content widgets for Elementor Page Builder.
✅ [Addon Elements for Elementor](https://wpbuilderaddons.com/addon-elements-elementor/?utm_source=wporg&utm_medium=readme&utm_campaign=plugin_landing&utm_content=addon_elements) – Rich and stunning widgets for Elementor.
✅ [WP Mail Log](https://wordpress.org/plugins/wp-mail-log/) – Log and view all emails sent from your WordPress site.
✅ [Content Lifecycle Manager](https://wpvibes.com/plugin/content-lifecycle-manager/?utm_source=wporg&utm_medium=readme&utm_campaign=plugin_landing&utm_content=content_lifecycle_manager) – Keep your WordPress content accurate and up to date with review dates, content ownership, and maintenance workflows.
✅ [Bricks Ultra](https://bricksultra.com/) – Powerful new elements for Bricks Builder.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/frontend-editor-acf` directory, or install the plugin directly through the WordPress plugins screen by searching for **"Frontend Editor ACF"**.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Visit any page or post that has ACF fields assigned while logged in as admin — click **Edit ACF** in the admin toolbar to open the editor panel.

For full setup instructions, see the [Documentation](https://docs.wpvibes.com/frontend-editor-acf/?utm_source=wporg&utm_medium=feacf&utm_campaign=readme).

== Frequently Asked Questions ==

= Does this plugin require Advanced Custom Fields (ACF)? =

Yes. Frontend Editor ACF is an addon for the Advanced Custom Fields plugin. ACF must be installed and activated on your site.

= Does it work with ACF Free and ACF Pro? =

Yes, it works with both the free version of ACF and ACF Pro.

= Will it work with my theme? =

Yes. The editor panel runs independently of your theme's styling and is compatible with all WordPress themes.

= Do I need coding skills to use this plugin? =

No coding knowledge is required. The editor is fully visual and works from the frontend of your site.

= How do I open the ACF editor? =

Visit any page, post, or custom post type that has ACF fields assigned while logged in as admin. Click **Edit ACF** in the WordPress admin toolbar — the panel opens on the right side of the screen.

= Which ACF field types are supported? =

Text, Textarea, Number, Range, Email, URL, Password, Image, File, WYSIWYG, oEmbed, Select, Checkbox, Radio Button, Button Group, True/False, Page Link, Date Picker, Date Time Picker, Time Picker, and Color Picker.

= Does ACF conditional logic work inside the editor panel? =

Yes. Conditional logic configured in your ACF field groups is fully respected inside the frontend editor panel — fields show and hide exactly as you have configured them in ACF.

= Can I control which post types show the editor? =

Yes. The settings screen lets you choose exactly which post types display the Edit ACF option in the admin toolbar. You can limit it to specific post types and exclude others.

= Will this slow down my site for regular visitors? =

No. The editor scripts only load for logged-in users with editing permissions. Regular visitors see no impact on page speed.

= Can I change which side the panel opens on? =

Yes. In the settings screen you can choose left or right panel position, and also set the panel width to suit your screen setup.

= How do I enable legacy mode? =

Add the following filter to your theme's `functions.php` file or a custom plugin:
`add_filter('feacf_use_legacy_form', '__return_true');`

= Where can I get support? =

Post in the [WordPress.org support forum](https://wordpress.org/support/plugin/frontend-editor-acf/) or contact us directly via our [Contact Page](https://wpvibes.com/get-support/?utm_source=wporg&utm_medium=feacf&utm_campaign=readme). We aim to respond within 24 hours on business days.

== Screenshots ==

1. **Editor panel open on the frontend** — edit ACF field values directly from the live page without going to wp-admin
2. **Wide field type support** — text, image, select, date picker, color picker, and more all editable in one panel
3. **Settings screen** — configure post type visibility, panel position, width, and accent color

== Changelog ==

= 1.0.3 =
* Improved: Code enhancements for better performance and user experience

= 1.0.2 =
* Added: Settings page to manage editor visibility by post type, panel position, width, and button color
* Added: Unsaved changes warning when closing the editor panel to prevent accidental data loss
* Improved: Layout and styling of the editor panel for better user experience
* Improved: Code quality and organization for easier maintenance and future enhancements

= 1.0.1 =
* Added: Support for ACF field conditional logic

= 1.0.0 =
* Revamped: Code restructured for significantly better performance and reliability
* Added: Legacy mode option to use the old editor interface
* Compatibility: Tested with WordPress 6.8 and ACF 6.5.1

= 0.1 =
* Initial release