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.

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:

Home
Foo
    Foo 1
    Foo 2
    Foo 3
Bar
Baz
    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

3 Answers 3

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

Boom!

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

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

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.