akirk / enable-mastodon-apps

Allow accessing your WordPress blog with Mastodon clients
https://wordpress.org/plugins/enable-mastodon-apps
GNU General Public License v2.0
34 stars 5 forks source link

Specifying what CPT to use for new posts #25

Closed jasontucker closed 2 months ago

jasontucker commented 1 year ago

I'm curious if could you make it so you can specify what CPT a new post should use, having these show up as "posts" with a post format of status is nice but having them in a different CPT would work well for my needs. Any thoughts on this?

akirk commented 1 year ago

Certainly doable but I am worried about how to present the available custom post types since typically not all of the registered ones are suitable for being directly created. Would a filter that allows modifying the post to be inserted into the database be a viable solution for your use case?

jasontucker commented 1 year ago

Sure, a filter would work. I've seen other plugins just list all of the available CPTs and let the user select them but a filter would be fine for me.

QurQuma commented 2 months ago

I really need rhis too. Thanks!

akirk commented 2 months ago

I just merged #154 which implements this.

akirk commented 2 months ago

Released in 0.9.4.