Wordpress pages are offered to be sent to discourse


(Allen - Watchman Monitoring) #1

Continuing the discussion from WordPress Plugin: Posts incorrectly always publish to discourse:

I have the opposite experience when posting wordpress Pages.

I see the option to send a Page to discourse or not, however it seems that Pages aren’t sent to discourse.

Is this by design? If so, it’d be nice to hide the option from the Page editor


(Kevin P. Fleming) #2

It is by design. Only Posts go to Discourse, not Pages (or any other content type).


(Allen - Watchman Monitoring) #3

Thanks for the confirmation. I’ve updated the title and category of this thread accordingly.


(Sam Saffron) #4

PR to fix this welcome, I get the shivers down spine each time I need to look at Wordpress code, so a bit slow in this department.


(Allen - Watchman Monitoring) #5

This PR helps:
https://github.com/discourse/wp-discourse/commit/3fd1b5a29e447fd32993fa1a3d66095b56f16558

A note needs to be made: you need to re-select the post types (ie enable posts)


(Jeff Atwood) #6