Constipation remedies for 5 month old?

Ella

I tried juice like doc suggested when constipated. Last poop was too firm two days ago. Gave him juice yesterday, he refused juice today. Gave him warm bath, gas drops, probiotics. Exercised his legs. Hes been throwing the worst farts today that actually smells like poop but no poop