[wp-hackers] Custom taxonomies and admin menus

Mike Schinkel mikeschinkel at newclarity.net
Sat Jul 31 22:22:50 UTC 2010


In the plugin are you doing it in the global area of the .PHP file on in an init hook?

-Mike

On Jul 31, 2010, at 5:52 PM, Joshua Sibelman wrote:

> I hope this isn't an obvious question, but I wasn't able to find anything on this in the Codex.
> 
> I created a plugin for a client that registers a new post type with two attendant hierarchical taxonomies. When the taxonomies are registered via the plugin, I do not see line items in the admin menu to access them for editing. If I move the taxonomy registration out of the plugin and into the theme's functions.php file, then the menu items appear.
> 
> Can anyone explain this behavior? Is there something specific I need to do when registering taxonomies via plugin vs. the functions.php file to get the menus to appear?
> 
> Thanks for any help you can give me.
> 
> Josh
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list