DevidCode159 downloadsPublish the active note as a WordPress draft, directly via the REST API or through a custom webhook.
Publish the active Obsidian note as a WordPress draft — directly via the WordPress REST API, or through a custom webhook (e.g. n8n).
Write in Obsidian, click once, get a draft in WordPress — no copy-paste.
image: or the first embedded image).In WordPress admin: Users → Profile → Application Passwords → type a name (e.g. Obsidian) → Add new application password → copy the generated password.
Requires HTTPS — Application Passwords are rejected over plain HTTP.
Settings → Publish to WordPress:
WordPress (direct REST)https://your-site.comAdd a marker line to your note (default **Post final :**); everything after it becomes the post body:
**Post final :**
First paragraph.
Second paragraph.
Then click the ribbon icon → Draft to WordPress (or run the command Publish current note as draft). A draft appears in your WordPress admin.
wp_title, otherwise the note's file name.image:, otherwise the first embedded image in the note.Request failed, status 401Authentication was rejected. Two common causes:
Wrong username / application password. The username is your WordPress login, not your email.
Your host strips the Authorization header. Common on shared hosting with Apache + PHP-FastCGI (e.g. some OVH plans). Application Passwords travel in that header, so if it's stripped, auth always fails. Add this to your site's root .htaccess, above the # BEGIN WordPress line:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
Then retry.
Switch the backend to Custom webhook and set your endpoint URL(s). The plugin POSTs a JSON payload to your automation (e.g. an n8n workflow):
{ title, content, status: "draft", image_b64?, image_name?, image_mime? }{ targets, wp_title, wp_content, image_b64?, … } where targets comes from the frontmatter cibles.### Bloc are ignored; blank-line-separated blocks become <p>…</p>; *(…)* becomes <em>…</em>.