Editing and Deleting Posts with the Edit Post Module (Divi 5)
The Edit Post module lets users edit (or delete) existing posts, pages, or custom post types from the front end. In Divi 5, you add the Edit Post module to a Theme Builder template and point it to the page that contains your post-creation form.
Prerequisites
- A Post form (or CPT form) already set up for creating posts.
- A Theme Builder template assigned to the single view of the post type, so the edit/delete button appears on the correct posts. See Divi Theme Builder.
- Field mappings are in place for any values you want users to update.
Setting up the Edit Post module (Divi 5)
- Open Divi Theme Builder and edit the template used for single posts of the post type.
- In the layout, add the Edit Post module where the button should appear (e.g. below title or meta).
- Configure:
- Edit or Delete — Edit Post or Delete Post.
- Button Text — Label for the button.
- Show for Author Only — Show only to the post author.
- Edit Page — The page that contains the post creation form (used for editing).
- Show Post in Modal — Open the form in a modal instead of navigating. The post form should be in a Divi layout loaded in the modal.
Use Display Conditions to show the button only to certain users or for certain post statuses.
Verify it works
- Open a single post as an eligible user and confirm the button appears.
- Click edit, update one field, and save.
- Reload the post and confirm changes persist.
- Test with a non-eligible user to confirm restrictions are enforced.
Common pitfalls
- Button does not appear when template assignment or display conditions are too restrictive.
- Edit page fails when it does not include the expected post form.
- Author-only controls can confuse teams if multiple editors are expected.
What's Next
- Configure Field mapping to control exactly where edited values are saved.
- Configure Form settings for email alerts after updates.
- Return to Features overview for related workflows.