| 开发者 | easyeventcad |
|---|---|
| 更新时间 | 2026年11月22日 00:38 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[easyeventcad].
Features
[easyeventcad] shortcode, with optional per-placement overrides:
[easyeventcad mode="launcher" launcher_heading="Design Your Tent"].app.easyeventcad.com/d/your-company.easy-event-cad folder to /wp-content/plugins/, or install
the zip via Plugins → Add New → Upload Plugin.[easyeventcad] to any post/page, or add the "Easy Event CAD
Planner" block.No. All planning happens inside the embedded iframe, served entirely by
Easy Event CAD. This plugin only stores your company code and display
preferences (mode, height, button label) as a single WordPress option.
Nothing about your site visitors passes through WordPress. See "External
services" above for what the planner sends to Easy Event CAD.
Yes — the shortcode and block both accept per-placement mode, height,
and launcher-copy overrides, so one page can be a launcher card and another
can be forced inline, independent of your saved default.
A launcher is a small card (a button, or your own image) that opens the full planner in a full-screen overlay when clicked. It's the default because it works in any placement — a sidebar, a footer widget, a narrow column. Inline mode renders the planner directly in the page at every placement size, phones included (since v2.1.0): the embedded planner is the guided question flow, which is built for small screens — tablets get full editing, phones get the interview plus a view-only plan with a quote button. Pick Inline for a dedicated planner page, Launcher for a card placed among other content.
Yes — configure up to two "seed" plan IDs (UUIDs from your Easy Event CAD account) in Settings, or per-placement via the shortcode/block. With one seed configured, the launcher opens straight into that plan; with two, the visitor sees a small picker plus a "start blank" option. A missing, revoked, or invalid seed silently falls back to a blank planner — it never shows an error.
Two different notes cover the two ways this happens. If the planner iframe loaded but stays blank for about 12 seconds, your WordPress domain probably isn't on your Allowed websites list (Settings, Embed & branding in your Easy Event CAD account; leave the list empty to allow any site, or add your address, such as https://www.your-site.com); a note saying so appears under the frame. If nothing appears at all — no iframe, no card — the planner script itself never ran: a network firewall or DNS filter blocking the planner domain, or a browser extension blocking third-party scripts. Since v2.1.0 the placement then shows a note plus a direct link that opens the hosted planner in a new tab. On a managed office network, ask IT to allow the planner host you configured under Settings → Easy Event CAD (by default app.easyeventcad.com).
wp_get_script_tag() and wp_get_inline_script_tag(), so they follow
your site's script filters (for example a Content Security Policy nonce).
The planner looks and works the same.https://app.easyeventcad.com (the app's custom production domain,
cut over from easy-event-cad.vercel.app in the app's own auth-domain
cutover follow-up). This only changes the DEFAULT for a fresh install —
the Planner host field stays admin-overridable exactly as before, so a
site with an explicit saved host value (including the old vercel.app
address, which keeps working) is unaffected until that field is cleared.embed.js?v=2) —
render guardrail + launcher/seeded-launch support. New "Launcher" mode
(a card that opens a full-screen planner) is now the default for a
fresh install; Inline only actually renders inline where a placement
measures roughly 1100×700px or larger, falling back to the launcher
card automatically everywhere smaller — a plain sidebar or footer
widget no longer gets a cramped, half-usable inline iframe. "Popup"
mode is kept as a distinct saved value and behaves the same as
Launcher going forward. New settings/shortcode/block fields: launcher
card style (button or image) + image URL, launcher heading/body/CTA
copy, and up to two "seed" plan IDs (with labels) for showing visitors
a real starting layout before they click in. Sites already using this
plugin keep their own currently-saved mode exactly as configured —
upgrading never silently changes an already-working placement's
behavior beyond the guardrail itself (which only ever helps a placement
that was too small to be usable inline anyway).[easyeventcad] or the block's existing
mode/height/label attributes — all new attributes are additive and
optional.ServerSideRender preview. Verified live
that ServerSideRender's block-renderer REST call succeeds and returns
the correct markup, but the returned <script> tag can never execute
when injected via React (a fundamental browser behavior, not specific to
this plugin) — so the "live preview" was always going to be blank for a
script-based embed. The actual published/previewed page (a real page
load) renders the planner correctly, confirmed identical to the
[easyeventcad] shortcode's output.ServerSideRender) never rendered
anything, on a real WordPress 6.9 site with the modern iframed block
editor canvas — the block was missing apiVersion: 3, which WordPress
6.9+ requires for full iframe-editor compatibility (a block editor
deprecation warning explicitly flagged this). Fixed by declaring
apiVersion: 3 on the block registration. Found via a real installation
on a production WordPress site, not caught by local testing against
WordPress 6.7.