I am just wondering is it possible to create a custom post type in wordpress which is hidden from the wordpress admin panel?
Leave a Reply
You must be logged in to post a comment.
I am just wondering is it possible to create a custom post type in wordpress which is hidden from the wordpress admin panel?
You must be logged in to post a comment.
If you want it to be visible everywhere (i.e. search), just without the admin menu, then something to the effect of the following should do the trick when added to
functions.php
in the theme directory:The WordPress Codex about
register_post_type
contains more comprehensive information: http://codex.wordpress.org/Function_Reference/register_post_typeYes, it is possible to register a non-public custom post type