how to create dynamic header menu in wordpress