Display only categories with jobs for sidebar fron end.
http://www.jobberbase.com/forum/viewtopic.php?id=3567
Credit: grubix