N.,
I had the exact same problem with my son. I was pulling my hair out because I knew he could, but he just refused to. He told me that he was scared to, cause it hurt. He started peeing on the potty at 16 months, but wasn't fully trained with the pooping until he was exactly 2 1/2 years old. What worked for us was 2 fold. We got Once Upon A Potty (a mamasource suggestion) and we started a pooping only potty chart. So, we had 2 charts, poop and pee. A sticker went on the appropriate chart and a big reward was given after x number of stickers per chart. Of course, a big reward (matchbox car) was given after every poop and after every 10 pees. If he pooped his pants, I took the toys he was playing with and put them in the reward basket. They had to be won back by using the potty. I also told him "I'm so proud of you. Are you proud of you?" To this day, 3 months later, after he poops, he says, "are you proud of me?" After 3 successful poops on the potty, we got him 1 thing, whatever he wanted. My son wanted a drive-in truck. Then, he would have to earn rides in it by going accident free for the day.
Also, if she goes at the same time of day, take her in the bathroom and read to her or play games while she's on the toilet. She may just forget about it. I used to put the potty in the living room and let him watch Once Upon A Potty while he sat on it, and sat on it (from the DVD).
My nephew, was completely different. He didn't want anything to do with the potty. But then, he said that he wanted a dog. My brother told him that if he starts pooping and peeing on the potty, he could get a dog for his 3rd birthday. From that day forward, he didn't go in his pants.
Recommendations:
Say no to diapers and pull-ups
Find out why she doesn't like to go in the potty - and address that issue
Watch her and get her on the potty as soon as she shows signs of trying to poop (even if she just finishes in the potty, that's a start)
Always dump the poop into the potty and let her say goodbye to it.
Be consistent and PATIENT
Best of luck! I have to start potty training again in 4 months, not looking forward to it.