Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

As the title says, I have not found any function to add an option page to a particular custom post type.

I would like to keep the option page related to a custom post type grouped together in its own panel, instead of adding it to the "Setting" panel, for example.

Any suggestion?

Thank you

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

use add_submenu_page() and as the pass

add_submenu_page('edit.php?post_type=YOUR_POST_TYPE_NAME',....);
share|improve this answer
    
Lovely, kudos for you ;) –  Mirko Mar 23 '11 at 14:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.