Skip to the content.

Obsidian WordPress Plugin

This an obsidian plugin for publishing documents to WordPress CMS.

How to install

The plugin could be installed in Community plugins by searching wordpress as keyword.

Installing

How to use

Before publishing, necessary WordPress settings should be done in WordPress tab of Settings.

Settings

You can find settings as following:

Let’s say a WordPress server could be access by https://www.mywp.com .

While WordPress profiles could be managed in another modal.

Profiles

Creates or edits a profile needs such information:

Profile

Some need be explained.

How to config WordPress plugins

WordPress REST API Authentication by miniOrange

In the plugin settings page, select BASIC AUTHENTICATION.

miniOrange

In the next page, select Username & Password with Base64 Encoding then Next.

miniOrange

Finally, click Finish.

miniOrange

How to config application passwords

Application passwords was introduced in WordPress 5.6.

You need to login WordPress and navigate to ‘Profile’ page.

applicationPasswords

You could use any application name you want, then click ‘Add New Application Password’ button.

applicationPasswords

Here you need to save generated password as it only shows once. Spaces in the password will be ignored by WordPress automatically.

Then you could use your login username and the application password in Obsidian WordPress plugin.

How to use with WordPress.com

WordPress.com supports OAuth 2.0 to protect REST API. This plugin add OAuth 2.0 for wordpress.com.

When using with WordPress.com, a valid wordpress.com site URL should be input first (let’s say https://yoursitename.wordpress.com). Then select ‘REST API for wordpress.com’, the browser should be raised to open wordpress.com authorize page. After clicking ‘Approve’ button, obsidian.md should be raised again and the plugin should be authorized.

Note, the plugin fetched wordpress.com token might be expired in two weeks by default. If publishes failed some day, ‘Refresh’ button should be clicked in order to get a new token.