ACF On-The-Go

描述

ACF On-The-Go lets site editors update Advanced Custom Fields (ACF) text and textarea field values right on the page where they appear, without opening WP-Admin.

  • Edit your ACF text fields from the front-end of your website.
  • Save time looking for the field in WP-Admin.
  • See immediate results in the front-end.
  • Changes are written straight to the database, so nothing is lost between the front-end edit and the admin view.
  • Access is limited to logged-in users who can already edit the post being viewed.
  • Developer & User friendly.

IMPORTANT

  • For fields to be editable on the front-end, YOU MUST ADD ‘acfgo’ to the target ACF field’s ‘Wrapper Attributes -> Class’
  • Right now the plugin only supports non-repeater text fields!

屏幕截图

安装

Developer: – Go to the relevant ACF field group. – Find the field you wish to turn front-end editable. – On ‘Wrapper Attributes’ add the class ‘acfgo’. – Save the changes.

User: – Visit a page that has an editable text field – Click the small, blue pencil icon near the content you wish to update. – Enter new content, click ‘Update’. – That’s it! The new content is now set and is updated also in the DB.

常见问题

I have installed and activated the plugin, but I still can’t see any changes on the frontend, why is that?

Please make sure to put ‘acfgo’ in the target field’s class. You can do so by going to the field’s field-group page, then in the field attributes go to ‘Wrapper Attributes -> class’, type ‘acfgo’ and click ‘update’.

What kind of ACF fields are supported?

Right now the plugin works only for non-repeater text fields. We’re working on adding functionality to more kinds of fields.

评价

2021 年 3 月 1 日
How is this different than a standard ACF Frontend Form? <?php acf_form_head(); ?> <?php acf_form([YOUR PARAMS]); ?>
2020 年 8 月 6 日
Great little plugin that does exactly what is says it will. Still new, but will hopefully grow in functionality and design. Allowing the user to customise the input box css styles would also be great.
2020 年 2 月 19 日
I loved the idea of this plugin. It’s awesome! I’m forward to see how much you’ll improve it in the future.
阅读所有4条评价

贡献者及开发者

「ACF On-The-Go」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「ACF On-The-Go」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.2

Release date: August 5th, 2026

  • Security: full plugin audit confirmed the AJAX save handler is the only endpoint that accepts input, and it enforces both nonce verification and a per-post capability check.
  • Version bump for WordPress.org relisting following the security review.
  • Security: added nonce verification and per-post capability checks to the front-end save request.
  • Security: escaped all dynamic front-end output to prevent stored XSS.
  • Tested up to WordPress 7.0.2
  • Fixed a text domain mismatch that prevented translations from loading correctly.
  • Removed the manual textdomain loading call in favor of WordPress.org’s automatic translation loading.
  • Localized the front-end dialog’s “Update” and “Close” button labels, which were previously hardcoded in English.
  • Fixed a front-end JavaScript error that prevented the save dialog from closing and the success/no-change notice from appearing after a save (the response was parsed twice).
  • Added support for Secure Custom Fields, the actively maintained successor to Advanced Custom Fields, as a recognized dependency.
  • General code cleanup and WordPress Coding Standards fixes.

1.0

Release date: January 31st, 2020

  • Initial release.