How can you trade Pokemon on Pokemon Pearl?

You can go to the WTS in Jubilife City, however you can only seek Pokemon that you've already seen. Another way would be to ask for someone's friend code and trade with them on the bottom floor of the pokecenter.
go to www.pkmntrades.webs.com