<P> Opie Taylor is a fictional character played by Ron Howard in the American television program The Andy Griffith Show, which was televised on CBS from October 3, 1960 to April 1, 1968 . Opie Taylor appeared in 209 of the 249 episodes of The Andy Griffith Show, and appeared in 2 spin - off shows and a TV Movie . </P> <P> Opie is a 6 - year - old when the series opens, who lives in the fictional and idealized small, sleepy southern community of Mayberry, North Carolina with his widowed father, Andy Taylor (Andy Griffith), the sheriff of Mayberry County, and his father's spinster aunt, Beatrice "Aunt Bee" Taylor (Frances Bavier). Opie appears once in The Andy Griffith Show spinoff Mayberry R.F.D., twice in the spinoff Gomer Pyle, U.S.M.C. and also in the 1986 reunion telemovie Return to Mayberry . </P> <P> There are two explanations of the origin of the character's name . One is that Opie was named after bandleader and radio actor Opie Cates; the other is that he was named for Opie Shelton (1915--1999), a childhood friend of Griffith, who went on to become president of the Atlanta Chamber of Commerce . </P> <P> Opie makes a brief first appearance in the February 1960 backdoor pilot, "Danny Meets Andy Griffith", an episode from The Danny Thomas Show . Ron Howard was 5 years old at the time . </P>

How did opie get his name on the andy griffith show
find me the text answering this question