Custom post type, prevent new post & post deletion
I am using wordpress as a CMS, I have created some custom post types that act as different sections for the site.
One custom post type called ‘Info’ only has one post. It will never need more, only one which can be edited, but not deleted. Is there a way to prevent new posts for this particular custom post type and also prevent this one post being deleted? I’ve had a good rummage in the codex and on other sites but can’t find anything to do with this.
Thanks for any help.
- The topic ‘Custom post type, prevent new post & post deletion’ is closed to new replies.