devbean / obsidian-wordpress

An obsidian plugin for publishing docs to WordPress.
https://devbean.github.io/obsidian-wordpress
Apache License 2.0
160 stars 22 forks source link

Publishing Obsidian note as a page does not work #70

Open OneRadRedDad opened 9 months ago

OneRadRedDad commented 9 months ago

What Happens

If I use the Wordpress publish button in Obsidian's sidebar, and tell it to publish a note to Wordpress as a page, the note is instead published as a note.

What I Expect to Happen

I expect selecting Page from the Post Type drop-down will make the plugin publish the note as a Wordpress page.

Workflow to reproduce this issue:

  1. Open Obsidian.md
  2. Navigate to any obsidian note in the publisher
  3. Click the Wordpress button in the Obisidan sidebar
  4. Select Post Type > Page
  5. Click Publish

The note then appears in Wordpress's Posts section.

Things I have tried to correct this issue: