Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying what CPT to use for new posts #25

Open
jasontucker opened this issue May 16, 2023 · 2 comments
Open

Specifying what CPT to use for new posts #25

jasontucker opened this issue May 16, 2023 · 2 comments

Comments

@jasontucker
Copy link

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
Copy link
Owner

akirk commented May 16, 2023

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants