No description
Find a file
Cheng Liang 2f6b6f5d13
Merge pull request #95 from bugparty/main
fix when publishing to wordpress, it will  lose the image size info in the img tag
2025-04-28 13:18:16 +08:00
.github/workflows Update plugin name. 2021-12-09 16:03:40 +08:00
docs docs: Update documents. 2023-04-04 16:26:36 +08:00
src Merge pull request #95 from bugparty/main 2025-04-28 13:18:16 +08:00
.editorconfig Update from sample-plugin repo. 2023-05-10 10:57:11 +08:00
.eslintignore Update from sample-plugin repo. 2023-05-10 10:57:11 +08:00
.eslintrc feat: Images in notes will be uploaded to WordPress. 2023-10-11 14:40:09 +08:00
.gitignore Update from sample-plugin repo. 2023-05-10 10:57:11 +08:00
.npmrc Update from sample-plugin repo. 2023-05-10 10:57:11 +08:00
.tool-versions fix: enhance error notice formatting and update dependencies 2025-04-22 13:32:16 +08:00
CHANGELOG.md chore(release): 0.18.0 2023-12-20 11:23:12 +08:00
esbuild.config.mjs Update from sample-plugin repo. 2023-05-10 10:57:11 +08:00
LICENSE feat: Update license to Apache 2.0 2022-12-12 15:48:52 +08:00
main.js refactor: streamline imports and improve image handling logic 2025-04-27 13:32:06 +08:00
manifest.json Update versions. 2023-12-20 11:23:30 +08:00
package-lock.json fix: enhance error notice formatting and update dependencies 2025-04-22 13:32:16 +08:00
package.json fix: enhance error notice formatting and update dependencies 2025-04-22 13:32:16 +08:00
README.md Merge branch 'develop' 2023-04-10 10:08:46 +08:00
styles.css fix: No back button for modals on some mobile. 2023-12-14 16:38:15 +08:00
tsconfig.json chore: Enable TypeScript strict mode. 2023-02-08 08:54:37 +08:00
version-bump.mjs Upgrade dependencies versions. 2022-12-08 14:40:29 +08:00
versions.json chore: clean up versions.json by removing outdated version entries 2025-04-27 13:42:31 +08:00

obsidian-wordpress

BuyMeACoffee

This plugin makes you publish Obsidian documents to WordPress.

There are some introduction videos you can watch:

Usages

Set your WordPress URL in settings as well as username if you want.

Put cursor in a MarkDown editor, then use Publish to WordPress in Command Palette or you could show a button in side in settings. The document will be published to the WordPress URL that you set.

You could add YAML front matter in front of notes. The plugin will read meta-data from front matter such as override title or tags. Also, WordPress post ID and categories will be added to this front matter if the note published successfully in order to support edit.

For example, you could add as following:

---
title: Post title which will override note title, not required
tags:
  - any tag you want
  - not required
---
Note content here.

Limits

This plugin uses XML-RPC or REST protocol to publish to WordPress.

XML-RPC is enabled by default but some sites may disable it because of security problems. While some shared hosts might disable XML-RPC by default which you have no way to enable it. So this won't work if XML-RPC is disabled.

REST API is enabled since WordPress 4.7 by default. Some REST API need extra actions in order to protect writable APIs. Traditionally, it is done by installing plugins. WordPress 5.6 was introduced application passwords to do similar things. So if you are OK with WordPress 5.6, application passwords is preferred as no plugin in needed.

Read this page for more information.