Linley made his acting debut in the 1998
made-for-television film
Still Holding On: The Legend of Cadillac Jack. Subsequently, he had supporting roles in three films released in 2000:
My Dog Skip,
Where the Heart Is starred in
Walker, Texas Ranger as a young boy affected by divorce and
Miss Congeniality. In 2003, Linley had a major role in the
independent film When Zachary Beaver Came to Town and appeared in the big-budget
Cheaper by the Dozen.
More recently, Linley appeared on
Disney Channel in seven episodes of
Hannah Montana as
Jake Ryan. He also appeared in
That's So Raven, in the episode
Five Finger Discount as Darrell.
Linley appeared during the world premiere of
The Cheetah Girls 2, while conversing alongside hit Disney Channel celebrity,
Brenda Song, opening the film with their comments. When Brenda introduced him, she said "Hannah Montana Star" which arose rumors that he may receive a permanent/main role on the show.
He was reportedly supposed to star in
Evan Almighty, but never appeared.
In the children's film
Hoot, which opened on
May 5, 2006, Linley played Mullet Fingers and co-starred with
Logan Lerman and
Brie Larson, three youngsters who try to save a local population of endangered owls from a disturbing threat in
Florida. The movie is an adaptation of the children's book by
Carl Hiaasen.
He announced in March 2007 that either a cameo, small role, or major role are trying to be worked into
The Cheetah Girls 3 for him.
In 2007 he had a lead role in the movie ''
The Haunting Hour Volume One: Don't Think About It.
Cody also sang background vocals to Miley Cyrus' song "Clear", and also sang the song "Wonderwall", while trying out for the movie "Will."