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 am pretty new in WP (I came from Joomla) and I have the following problem.

I have installed WordPress on my server and if I use one of the included theme (such as the Twenty Thirteen theme) when I open the website I see it and under the header I can see the classic horizontal Main Menu containing the voice Sample Page, ok...this is the right behavior.

Then I have installed the following theme http://bootstrapwp.rachelbaker.me/ that is a WP theme that use BootStrap (I think that it could be a good start point to develop a personal theme using BootStrap CSS framework).

I install it but when I activate the theme I obtain this result: http://onofri.org/WP_BootStrap/

As you can see the website is shown but seems that there is not the Main Menu as in the others preinstalled theme.

Why? What could be the problem?

I opened the header.php file of this theme and here I find the following lines of code:

                <?php bloginfo('name'); ?></a>
            <?php wp_nav_menu(
                    array(
                        'menu' => 'main-menu',
                        'container_class' => 'nav-collapse collapse',
                        'menu_class' => 'nav',
                        'fallback_cb' => '',
                        'menu_id' => 'main-menu',
                        'walker' => new Bootstrapwp_Walker_Nav_Menu()
                    )
                ); ?>

So it seems to me that the main menu navigation bar is present in this theme.

Do you have some ideas to solve my problem?

Tnx

Andrea

share|improve this question
    
have you created a menu under appearance > menus? –  Milo Jan 16 at 18:42
add comment

1 Answer

up vote 1 down vote accepted

Go to Appearance > Menus & create a new menu called main-menu

That should fix the problem.

share|improve this answer
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.