Repository navigation
docs(content): document sending pages to WordPress as draft posts (Send to CMS #1331) - #1573
Conversation
…hey go (Send to CMS ansvisor#1331, phase 2 part 5) Send to CMS's guide covers connecting a brand's Webflow site (site token, scopes, collection and field map, the JSON-LD embed, self-hosting env), choosing Webflow or the workflow in the Send dialog, what a Webflow send does (draft item, updated in place, tables as lists, no images yet, the meta description's fallback), the shared daily cap and the Library mark. The Content Editor guide and the webhook event table say which sends go through the webhook. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d to CMS ansvisor#1331, ansvisor#1509) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…slug and the 60-day check (review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ur workflow, and says so (review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ord and send pages to it as draft posts (ansvisor#1331) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… read when the Library opens and daily (ansvisor#1331) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ons (ansvisor#1331) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ss-server # Conflicts: # server/src/lib/content-delivery.test.js # supabase/schema.sql
The Send dialog (editor, Library row, bulk) offers the brand's WordPress site beside Webflow and the webhook. A remembered CMS that isn't ready goes to the webhook, never the other CMS. The toast says when a live post got a new draft and when JSON-LD was left out. The Library marks rows sent to WordPress and asks /wordpress-status once per brand per visit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nd to CMS ansvisor#1331) Connect WordPress (Application Password, the site check and what its messages mean, change sign-in, disconnect, self-hosting key), where pages go with three targets, what goes to WordPress and when a send makes a new draft, the published check, bulk and Library lines, and the webhook and editor guide lines. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… has ended Since ansvisor#1589 a workspace whose plan has ended can't write, but taking back an outside account's access stays open (COST_STOPPING), as Webflow's disconnect does. WordPress's disconnect revokes the Application Password where the site allows, so it joins the list. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s-published Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ress-web Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…its own too (Send to CMS ansvisor#1331) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Merged #1572's new head in (5d39c76). |
# Conflicts: # web/src/components/content/send-to-cms-dialog.tsx
# Conflicts: # docs/guides/content-editor.mdx
…space is read-only Connect and Change sign-in open it before anything is sent, and a connect or disconnect the API refuses for the plan opens it instead of saying WordPress couldn't be reached. Disconnect stays open, as Webflow's.
gkhngyk
left a comment
There was a problem hiding this comment.
Looks good
Reviewed this PR's own change (on top of #1572): docs only (send-to-cms.mdx, content-editor.mdx, webhooks.mdx). On its own it merges with main without conflicts. It carries #1572's three conflicts, though, so it should go after #1572's merge of main. take-1573 (7ed4ff9f) is this branch with take-1572 merged in.
What I checked against the code
- Connecting:
- https and the standard port only.
/wp-adminand/wp-jsonare dropped from the address; a folder is kept.- The password is sent only once the site answers as WordPress.
- The password is kept encrypted with
CONNECTOR_CREDENTIALS_KEY. - Only admins and managers can connect, change the sign-in or disconnect.
- Revoking the password works on WordPress 5.7 and later.
- Each toast row matches the error the API returns.
- Sending:
- The title, slug, content and excerpt go; the meta title and JSON-LD don't.
- A draft or pending post is updated.
- A live, scheduled or private post gets a new draft instead.
- A trashed or deleted post gets a new one.
- The 200-a-day cap is shared with Webflow and the workflow.
- A page already queued for WordPress isn't sent there again.
- The published check: it runs when the Library opens and once a day, for sends from the last 60 days. A trashed or deleted post shows "Removed in WordPress". A site that stops answering as WordPress closes nothing.
- Choosing the target: Webflow, WordPress, then your workflow. A CMS that's connected but not ready can't be picked, and the page goes to the workflow, never to the other CMS.
- The copy is plain English and names no customer.
Summary
Send to CMS, phase 2 (#1331): WordPress, part 5, the docs. It covers what #1569–#1572 built.
Stacked on #1507 (the Webflow docs), since both change
send-to-cms.mdx. This PR's own change is its last commit, docs only. Merge it after #1507 and the WordPress chain.guides/send-to-cms.mdx:/wp-adminand/wp-jsontaken off, a folder kept, https and the standard port only);Authorizationheader dropped (with the.htaccessline), users hidden, a firewall, a redirect, a user who can't write posts;CONNECTOR_CREDENTIALS_KEY.api-reference/webhooks.mdx: pages sent to WordPress don't firecontent_draft.senteither.guides/content-editor.mdx: the Send to CMS line names WordPress.Related issue
Part of #1331 (phase 2, WordPress). Stacked on #1507; documents #1569, #1570, #1571 and #1572.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
Read
docs/guides/send-to-cms.mdx, or runmint devindocs/and open Send to CMS. Each statement can be checked against the code:server/src/lib/cms/wordpress.js(siteAddress,checkSite);wordpress-delivery.js;wordpress-status.js;settings.wordpressinweb/messages/en.json;web/src/components/content/cms-target.tsx.Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Docs only: no web or server code changed, so the web checks don't apply. A pre-push review checked each statement against #1569–#1572's code. Its findings are folded in: the check's messages are toasts, the refused sign-in row, when the password is sent, the dialog leaving out a CMS it can't check, Change sign-in, http and ports, where the password is kept, Application Passwords off behind a proxy, a remembered CMS no longer connected, a post published after the 60 days, and no featured image.
🤖 Generated with Claude Code