In James 1:5-6, James tells us how to get the gift of Wisdom. We do it through the prayer of faith. That must hold true for the rest of the gifts.
In 1 Cor. 12:29-30 Paul writes we may not get all the gifts of the Holy Spirit. Why not? In James 4:3, James wrote, "You ask and do not receive, because you ask amiss, that you may spend it on your pleasures." If the value of some of the gifts are going to corrupt us due to our lack of maturity, He may withhold them until our spiritual maturity catches up. In other words, keep asking, seeking and knocking. And take a spiritual gifts inventory on an annual level to see what else you have accumulated.
Comments
So, any other possibilities?
Technically, in Luke 11:13 Jesus tells us to ask for the Holy Spirit (the one who gives us spiritual gifts).
13 If you then, though you are evil, know how to give good gifts to your children, how much more will your Father in heaven give the Holy Spirit to those who ask him!"