converting menus to use wp functionality