WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can i add my own toggle here ? There are toggles for each post type but I would like to add this without creating a new post type. Where should I start looking ?

enter image description here

Let say I wish to add something like this:enter image description here

It will work the same as link with URL = # and it will look more clear for some people

share|improve this question
up vote 1 down vote accepted

You custom box can be added with adding meta box on nav menu page. So -

function Register_My_Nav_Menu_Metaboxes(){
    add_meta_box( $id, $title, $callback, 'nav-menus', 'side' );
add_action('load-nav-menu.php', 'Register_My_Nav_Menu_Metaboxes');

I hope you know how to add the metabox $id, $title, $callback and utilize it.

share|improve this answer

Your Answer


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.