WordPress Function Reference

I've spent some time on their site trying to understand how to retrieve the current category, and you know what, its not really working for me.
You would think that the most popular CMS on the internet would have better documentation on how to make modifications to the system.
Maybe I'm a little picky too, but I expect the code snippets I copy and paste to not cause errors.

Also, remember that pages don't have categories, like posts and links do. So you can never really create a two level navigation system based on pages, like I was hoping.
Posted in Web Design.