You've been given great advice. Although the one person that said she's too young for potty training for #2 is wrong. Everything always depends on the child involved. At the daycare I work in, we have a little girl that's been using the toilet since about 20 months...and she goes and poops on there as well. She just turned two a couple days ago. On the other hand, We have a boy that's 3 1/2 that will not go at all.
In a parent magazine there was an article that said to introduce children to the potty around 18 mos. whether they use it or not, because by 2 or 2 1/2 they resist it more. I think most kids hide when they poop. It's actually a sign of awareness of their body functions. I agree with the mom who said to gently remind her she needs to go in the potty. My son was fully trained for peeing, but did the hiding thing for poop, too. I would walk my son to the toilet, dump the poop inside, and say, "Okay, flush it! Bye poop! Next time, let's try to poop in the tiolet."
And yes, rewards worked with mine too. Peanut butter cups were my son's reward of choice. He is visual, so we had a chart up, so everytime he used the toilet, he got a smiley sticker, and everytime he pooped (it's only like once or twice a day anyway) he got a mini peanut butter cup. It was a long, long year, but finally he was totally potty trained.
Oh-and my doctor's suggestion to get rid of the pull-ups helped too. She said they're just diapers to most kids. I found my son some Gerber brand, thick underwear that saved the clothes from accidents. Then when he was past the accident stage, we celebrated with going to the store to pick out some packs of underwear. Good luck!