Using your plugin, I created a custom post type called recipe and chose this Rewrite Slug: food/recipe
according to the codex page: http://codex.wordpress.org/Custom_Post_Types it seems it does this:
'rewrite' => array('slug' => 'food/recipe')
works perfect!
Using your plugin I created a custom taxonomy called ingredients and where it say: Rewrite: I chose custom with this value: food/ingredient instead of the default: Yes, using name.
I checked the codex: http://codex.wordpress.org/Function_Reference/register_taxonomy and it seems like I could use this:
'rewrite' => array( 'slug' => 'food/ingredient' ),
but it doesn't work. the codex says:
rewrite
(boolean or array) (optional) Set to false to prevent rewrite, or array to customize customize query var. Default will use $taxonomy as query var
Default: true
$args array
* 'slug' - prepend posts with this slug - defaults to taxonomy's name
* 'with_front' - allowing permalinks to be prepended with front base - defaults to true
Now I am a beginner with this while you are a developer so my question is am I reading this wrong? Isn't it possible?
If it should be is it a shortcoming of your plugin or a WP bug?
You say rewriting has nothing to do with your plugin but when your plugin registers a custom taxonomy for me I can set up these options :-)
I am not interested in custom permalinks or such (I know there is another plugin out there for this)
Thanks for your feedback, maybe you can shed some more light onto this issue please.