O'Reilly logo

WordPress Web Application Development - Second Edition by Rakhitha Nimesh Ratnayake

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Generating the application frontend menu

Typically, a web application's frontend navigation menu varies from the backend menu. WordPress has a unique backend with the admin dashboard. The logged-in users will see the backend menu on the top of the frontend screens as well. In the previous chapter, we looked at various ways of customizing the backend navigation menu. Here, we will look at how the frontend menu works within WordPress.

Navigate to the themes folder and open the header.php file of the Responsive theme. You will find the implementation for the frontend menu using the wp_nav_menu function. This function is used to display the navigation menus generated from the Appearance section of the WordPress admin dashboard. As far as the portfolio ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required