'Teen Mom' Star Gary Shirley's Wife's Ex Orders Couple To Keep Daughter Away From MTV! See inside Kristina Anderson's nasty custody battle.

Teen Mom OG star Gary Shirley recently accused his ex, Amber Portwood, of making bad mom moves. But the father of two has plenty of parenting problems of his own right now, RadarOnline.com can exclusively reveal.

As Radar previously reported, Shirley’s wife, Kristina Anderson, went through a custody battle with her former husband Greg over their 9-year-old daughter Karly in 2014. Greg filed papers to prevent Karly from filming Teen Mom OG or any other related productions, so the little girl has never appeared on camera despite her mom, stepfather and baby sister Emilee‘s constant presence on the MTV show.

But two years later, Kristina and her ex went through another fight that resulted in a September 27 court order and agreement banning the mom from bringing MTV cameras anywhere near her oldest daughter, even if she’s not being filmed.

According to Indiana’s Madison County Circuit Court documents exclusively obtained by Radar, “Karly shall not be present during filming by a third party, New Remote Productions, Inc., MTV or any other company or its affiliates.”

THE PROOF! READ THE SHOCKING COURT DOCUMENTS

If Kristina cannot find someone to watch her child during filming, “Karly shall be returned to father immediately,” the court papers continue.

Gary, 29, and Kristina, who welcomed little Emilee in April 2015, married in a secret ceremony last September after a controversial courtship.

The couple began dating in 2013, while Kristina was still married to her ex and Gary allegedly was with Amber. (Amber, the 26-year-old mom of Gary’s oldest daughter Leah, 7, was still in prison at the time.)

We pay for juicy info! Do you have a story for RadarOnline.com? Email us at tips@radaronline.com, or call us at (866) ON-RADAR (667-2327) any time, day or night.