Yes, regardless if they didn't get you a gift, the important thing is they attended your wedding, so you should still give them a thank you card.