Second navigation bar


How do I make a second navigation bar with it’s own layout?

Kind regards,

Hi @ludo1,

I hope you are well today and thank you for your question.

To achieve this you have to create child theme of Travelify theme and develop custom code in it as described on the below page.

Best Regards,

Thank you.
How do I make the second bar visible, for example in the header?

Kind regards,

Thank you.
How do I make the second bar show up, for example in the header or just under the header photo slider? I want a similar navigation bar als the main one.

Kind regards,

You can overwrite the header.php file in your child theme and call the function wp_nav_menu to display the secondary navigation.

Thank you, but my Child Theme has no header-php file. I can only find such a file in the parent Travelify.

Kind regards,

Yes you have to copy that file from parent Travelify theme in to child theme.

So the Travelify functions.php will overwrite the Child functions.php?

Sorry, my mistake, you said the header-php not the functions.php.

Where exactly do I call the function wp_nav_menu?

I have put the next code in the header.php, but the result is not a navigation bar but a list of links, as you can see on

<?php wp_nav_menu( array( ‘theme_location’ => ‘submenu’ ) ); ?>

Kind regards,

To achieve this custom functionality you have to develop correct custom code by referring the WordPress information provided on this page

Developing custom code for custom functionality is beyond the scope of support that we provide here.

If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Colorlib recommends the developer