revir / nodebb-plugin-blog-comments2

Lets NodeBB act as a comments engine/widget for your blog
BSD 2-Clause "Simplified" License
19 stars 13 forks source link

Publishing to NodeBB from Wordpress only works for default post types #1

Closed jshaffstall closed 7 years ago

jshaffstall commented 7 years ago

Line 157 of wordpress.js uses the Wordpress API to get the contents of a post:

adminXHR.open('GET', wordpressURL + '?json=get_post&post_id=' + articleID);

That only works for posts of the default 'post' type. Posts of different types return that the post could not be found.

It'd be nice if publishing could work with any post type, not just the default.

revir commented 7 years ago

Thank you so much.