Can you substitute butter for shortening in cake recipe?

Yes, for one cup of shortening use one cup of butter.