How does adding more Pokèmon to gyms work now?
You can't open new slots with the new system. When your team captures a gym, it is automatically filled with 6 free spaces. Any player from your team can then add a Pokemon to it as long as there is space in the gym (and an identical Pokemon is not already present in this gym). It is not possible to get as many slots as it was possible with the previous gym system.