Creating WordPress Navigation Menus is much easy from Dashboard -> Appearance -> Menu. Most of the time, it requires to customize these menus according to theme design and it can be done with the WordPress function wp_nav_menu() . Although, we can populate these menu with our own way and style menu accordingly. Here is the code: [sourcecode language=“php”] ”; foreach ( $pages as $p ) { ?>

  • ”; ?> [/sourcecode]