as a rule if the pump head doesn't have 2 holes, one presta , one schrader or a head that takes either valve without having to do anymore push straight on & pump ,you will have to the the following.
unscrew the cap, remove the rubber bit then the plastic bit that's underneath. make sure you take note of which way round they are. turn the plastic bit around and put back in. now do the same with the rubber bit. screw cap back on and your done.
the plastic at the bottom again with the rubber above but each piece reversed
there are many pumps using this method, generally the plastic and rubber bits differ from model to model but the principle is the same