I have created a custom Taxonomy called Documents and I want to show it as one of menu items, I am only able to choose from its posts. How shall I do that?

As below picture I am not able to choose Documents itself as a menu item...

enter image description here

  • What should that menu item will take us - to a Taxonomy archive, or to a Post of that taxonomy. Please edit your question, place the code your are working with, and elaborate with your context to get a good answer. Dec 23 '14 at 4:02
  • It should open posts of that taxonomy
    – Kareem
    Dec 23 '14 at 12:43

Finally I was able to find a way to do exactly what I wanted. Though adding Custom Taxonomy or Custom Post Type can easily be added, while having its Template file, as following:

Appearance> Menus > selecting Links widget > putting link of custom post type or taxonomy http://yourdomain.com/your-custom-post-or-taxonomy

But also this answer help you to have a widget for your custom post type and taxonomy to select from them. The code there is for custom post type, but after working it around, it is now working for me as I had many custom post types and taxonomies.


when registering the taxonomy you should use this parameter 'show_in_nav_menus' => true, in order to use the terms of the taxonomy in the menu generator of WP.

For example:

  array(  'labels' => array(
      'name' => 'Video Categories',
      'singluar_name' => 'Video Category'
    'public' => true,
    'show_in_nav_menus' => true,
    'show_ui' => true,
    'show_tagcloud' => true,
    'hierarchical' => true,
    'rewrite' => array('slug' => 'videos', 'with_front' => true)
  • it still doesn't show it as top level menu, just show categories under that. Even 'show_in_menu' parameter doesn't show it.
    – Kareem
    Dec 23 '14 at 1:21
  • would be better if you provide some screenshot of what you are trying to do
    – Dedalos01
    Dec 23 '14 at 10:16
  • I updated my question
    – Kareem
    Dec 23 '14 at 12:45
  • Why not using this template tag to show all the terms? wp_list_categories( $args ); codex.wordpress.org/Function_Reference/get_terms
    – Dedalos01
    Dec 23 '14 at 13:52
  • this does not answer the question, this will allow to add the taxonomy terms to the menu, but not its archive
    – Aurovrata
    May 26 '18 at 8:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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