WordPress: Get taxonomy of current post or page