The following snippet will let you display categories drop-down menu in WordPress.

Snippet Source/Credit: Snipplr