A South Florida high school student, who is facing a felony charge, will not be allowed to take part in spring football practice while wearing an ankle monitor after school officials read a newspaper story about it online.

A judge's order had allowed Shelley Singletary to participate in spring practices, as well as attend classes at Boca Raton High School, and the 18-year-old apparently was set to practice Monday in the team's first season practice.

But hours after a story on Singletary was published, Boca Raton High principal Susie King informed the school’s football staff that Singletary could not take part in any team functions until his criminal court case is resolved.

School officials apparently were not aware that Singletary had been cleared to practice until they read the story by the Palm Beach Post.

Singletary, 18, is accused of a robbery in January during which he allegedly forcibly removed an 11-year-old’s Air Jordan sneakers and tried to steal his bicycle.

Judge Samantha Schosberg Feuer modified the terms of Singletary’s house arrest on March 16 allowing him to practice, but only if he wears an ankle monitor.

“The student has been cleared by a judge to participate in activities,” according to a statement released by the Palm Beach County School District. “However, he has not been cleared by Boca Raton Community High School to practice or be part of the school’s football team. At this time, he is in no way affiliated with the team or the spring season.”

Singletary, who will be a junior in the next school year, will be allowed to continue attending classes.

Singletary, a 5-foot-10, 170-pound running back and defensive back, is ranked by MaxPreps, a college football recruiting website, as the state’s No. 193 prospect.

The University of Kentucky has reportedly offered Singletary a football scholarship for 2018, according to 24/7 Sports, but NCAA rules prohibit schools from publicly discussing recruits until they sign letters of intent.

Singletary could not be reached for comment.

Court records show that his next court appearance is scheduled for June 19.