Added cnp_nav_menu function