Potty training help

Sade’

I tried posting in a potty training group and got no response so trying here . .

My daughter is 2 years and 3 months and for the most part she’s potty trained. She knows when she has to go, she’ll even tell us sometimes so we can get her on the pot. She absolutely won’t poop in the potty but pitches a fit after she’s already pooped on herself because she wants to poop in the potty. I just gave her a bath because she peed on herself and less than 5 minutes after her bath she peed and pooped again (after not going while sitting on the pot) and had on her training underwear. Any tips or tricks to get her to start going to the restroom more throughout the day ? Even with me sitting her on the toilet consistently sometimes she just won’t go and pitches a fit then within a minute of standing up she’ll go on herself.