Initial commit: Docusaurus docker stack and docs
This commit is contained in:
32
docs/dotjuice-elementor-tools-pro/widgets/acf-frontend-form.md
Executable file
32
docs/dotjuice-elementor-tools-pro/widgets/acf-frontend-form.md
Executable file
@@ -0,0 +1,32 @@
|
||||
# ACF Frontend Form
|
||||
|
||||
Found in the Elementor panel under **Dotjuice → ACF Frontend form**. Requires Advanced Custom Fields (ACF).
|
||||
|
||||
## How it works
|
||||
|
||||
Place this widget on a template that renders a single post or page — it displays an editable form for **whichever post is currently being viewed**, using ACF's own native form rendering. This widget only works on singular posts/pages (a single product, a single post, a single custom post type entry); it doesn't render anything on archive pages, the homepage, or similar listing pages.
|
||||
|
||||
## Content settings
|
||||
|
||||
| Setting | What it does |
|
||||
|---|---|
|
||||
| **ACF Field Groups** | Choose which of your site's ACF field groups should be editable in this form. Nothing renders until at least one is selected. |
|
||||
| **Enable Title** | Includes the post title as an editable field. |
|
||||
| **Enable Content** | Includes the main content editor as an editable field. |
|
||||
| **Submit Button Label** | The text on the form's submit button (default "Update"). |
|
||||
|
||||
## Setting it up
|
||||
|
||||
1. Place the widget on a Single Post, Single Product, or other singular template in your Elementor Theme Builder.
|
||||
2. Select the ACF field group(s) you want editable.
|
||||
3. Decide whether the post title and/or content should be editable too.
|
||||
4. Publish and test by viewing an actual individual post/page that uses this template.
|
||||
|
||||
## ⚠ Important: this widget has no built-in access restriction
|
||||
|
||||
Anyone who can view the page this widget is placed on can submit changes through the form — there's no automatic login requirement or capability check. If you only want logged-in users, specific roles, or the post's author to be able to edit, you'll need to add that restriction yourself: placing the widget inside a members-only page, using a membership/restriction plugin, or a conditional visibility rule in Elementor Pro. Don't place this widget on a fully public page unless open editing is genuinely what you want.
|
||||
|
||||
## Good to know
|
||||
|
||||
- This widget only renders a form when viewing an actual singular post or page — on archives, the homepage, or search results, it won't display anything.
|
||||
- The uploader for image/file fields uses a simple file picker rather than the full WordPress media library browser.
|
||||
Reference in New Issue
Block a user