| 开发者 | lucaslopvet |
|---|---|
| 更新时间 | 2026年10月4日 20:49 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
list_divi_pages: list the pages built with Divi 5 that you can edit.get_page_layout: read a page's current layout.list_global_styles: list your site's own Divi colors and presets so the AI can reuse them (read-only).validate_layout: check a layout without saving anything.edit_page_content: change one piece of text (an email, phone number, price or sentence) without rebuilding the page. Add dry_run to preview the change without saving it.update_page_layout: save a new layout for a page, after the checker approves it. Add dry_run to preview what would change without saving it.create_page: create a new page. It is always saved as a draft for you to review and publish.list_page_history, get_page_history_entry, restore_page_version: see the saved earlier versions of a page and bring one back.get_style_guide: how to build styled Divi 5 layouts, using real Divi 5 settings.get_landing_guide: how to build a landing page that turns visitors into customers.get_site_guide: how to plan a site with several pages that link to each other.get_section_recipes: the 17 ready-made section patterns.get_image_guide: how to pick the right image for each section, including the built-in image pack.list_media_images: look through the images already in your Media Library (read-only; nothing is uploaded, changed or deleted).jhmg-ai-editor-for-divi-5 folder to /wp-content/plugins/ and activate it on the Plugins screen.)No. The API key works as the WordPress user who created it, and the AI can only use this plugin's tools. Every request checks that this user can still edit pages, and every page listing, read or change, every new page and every Media Library lookup re-checks that user's WordPress permissions (pages they cannot edit are not even listed). The tools can only list, read, check, edit and undo the content of pages, create pages (as drafts), read Media Library images (read-only), and read your site's Divi presets and colors (read-only). They cannot install plugins, change users, settings, menus or the front page, or run PHP or other server-side code.
No. The checker refuses any layout that contains custom CSS, a Divi Code module, script, style or iframe markup, a javascript: link or an event attribute, and the plugin has no tool that saves CSS, JavaScript or PHP or changes site settings. Anything already on a page, for example custom CSS you added in the Visual Builder, is kept: the AI cannot add or change code (it can only remove it).
From your own Media Library first. When nothing there fits, the AI uses the built-in image pack that ships inside the plugin. Nothing is downloaded from third-party websites.
No. The plugin does not send your data anywhere and uses no third-party services. Your AI assistant connects directly to your site with your key. The page content your assistant reads is handled by the AI service you chose (for example Anthropic or OpenAI), under that service's own terms.
The AI can make mistakes, but a broken page is never saved by an AI edit. The checker runs before every save. If a layout breaks a rule, it is refused, nothing is saved, and the AI gets the exact reason so it can fix it. If you do not like a change that was saved, restore the previous version from the Dashboard: undo puts back your own earlier version exactly as it was, and when your AI assistant does the restore it is told whether that version passes the checker.
The key is a long random code stored in your WordPress database and shown only to administrators on the plugin's Settings screen. Keep it private, like a password. You can make a new one at any time with the Regenerate button, which stops the old one from working.
No. Divi 4 stores pages as shortcodes. This plugin is made for the Divi 5 page format.
It works on any standard WordPress site, including staging sites. Multisite is not officially supported yet.
No. The plugin adds no scripts or styles to your public pages. It only adds its admin screen and the connection endpoints your AI assistant uses.
list_global_styles, lists them.update_page_layout and edit_page_content accept dry_run: they return the checker's verdict and a short list of the blocks and settings that would change, and save nothing.jhmg-ai-editor-for-divi-5).create_page is part of this plugin: create new pages, always saved as drafts.list_media_images lets your AI reuse the images already in your Media Library (read-only).list_page_history, get_page_history_entry, restore_page_version) is part of this plugin.edit_page_content).