Wordpress menu

I have added the Wordpress menu in the header file and I have eliminated the foreach for pages listing.