WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

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

I want to create a dummy menu with 1 or 2 level of depth. I know I can create the menu via the administration module, but I want to know if there is something I can use to generate fast a dummy menu.

I have a file with the sitemap indented by spaces that look as follow:

    Foo 1
    Foo 2
    Foo 3
    Baz 1
    Baz 2
        Baz 2.1
        Baz 2.3

Is there something to rapidly create the menu hierarchy into WordPress 3.6?

share|improve this question

Why not make it just once, then use that database for all your development sites?

http://codex.wordpress.org/Theme_Unit_Test This has a link to a test database you can import (XML I believe), which has a few menus if I'm not mistaken.

share|improve this answer

Build your menu once, then export and import using the standard WP plugin: http://wordpress.org/plugins/wordpress-importer/ . Also accessible from WP Admin -> Tools -> Import/ Export.

share|improve this answer

Install a theme with menu support (Twenty Thirteen).

Then go Appearance -> Menus -> Menu name -> type a string -> Create menu -> Pages -> Select a page -> Add to menu -> Save menu


share|improve this answer
Yes but I have a menu with about 52 items... I want to do it quickly without repeating that 52 times... – Rubens Mariuzzo Aug 22 '13 at 14:22
Added an alternative answer. – jnthnclrk Aug 22 '13 at 14:26

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.