Generating an application's 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 frontend screens as well. In the previous chapter, we looked at various ways of customizing the backend navigation menu. Here, we are going to 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 ...

Get WordPress Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.