Try cooking sweet potatoes they are high fiber. Give the child the juice off the sweet potatoe in a bottle. My co-worker told me her mom used it. The sweet potatoe worked for me. It is health food.
Lots of water helps.
Flax seed oil is used for joint repair. Cods liver oil is used for intestines and bowels. Smells gross and gages me to watch a child take it.
Did you massage the babies back down toward the butticks? also move the legs and bent knees to the tummy. Massage the tummy also.
There is nothing more awful than a child who is in pain. It maybe allergies or other simply solved issues.
The gross thing to try is olive oil incerted in the anus to grease the track. Use your little finger and just grease the inside olive oil.
Good luck