Is there any way to define a post.php for a Custom Content Type?
I am trying to remove the Permalink, the Slug and the Preview Changes Button from the edit/creation page of an item in my custom content type.
Is there any way to define a post.php for a Custom Content Type?
I am trying to remove the Permalink, the Slug and the Preview Changes Button from the edit/creation page of an item in my custom content type.
You must be logged in to post a comment.
To remove Preview Button
To remove slug
Source:
http://vip.wordpress.com/documentation/remove-the-slug-from-your-custom-post-type-permalinks/
http://wpsnipp.com/index.php/functions-php/hide-post-view-and-post-preview-admin-buttons/
If I understood your question correctly, here is your answer.
For example, you’ve a custom post type defined as book. single-book.php should be you’re looking for.