Select Single Player from the main menu. Select Time Trials.
You will see a message at the bottom of your screen after the race informing you that “A fast staff ghost has appeared!” You will not need to beat the Expert Ghost, simply unlock it. Repeat until you’ve unlocked eight Expert Staff Ghosts. Beat the regular Staff Ghost on eight different courses to unlock eight Expert Staff Ghosts.
Both online and offline Races and Battles count.