Be careful what you feed with the pill. Cat food tends to be very high protein and hard on dogs' kidneys. High-fat cheese, etc can sometimes trigger pancreatitis. My dogs get peanut butter in small amounts with no problems, but I wouldn't let them have a lot.
Luckily for us, all the corgis will eat anything without asking any questions, so I can usually just drop the pill on top of their kibble in their bowl and not worry about it. When they need a dose between meals, three small pinches of lowfat string cheese (before, hiding the pill, and after) like the double-treat method works pretty well.
If that doesn't work, ask your vet if the medication is available as a liquid, and give with a syringe.