Giants retiring Barry Bonds’ jersey number: 25

Recommended Video:

While Hall of Fame voters continue to deny Barry Bonds, the Giants continue to honor him.

The team announced Tuesday that Bonds’ number (25) will be retired in an Aug. 11 ceremony at AT&T Park.

Up until now, the Giants didn’t retire numbers of players not in the Hall of Fame, but they made an exception for Bonds, the home run king who has been on the ballot six years without gaining the 75 percent required for enshrinement.

“I’m both honored and humbled that the Giants are going to retire my number this season,” Bonds said in a statement. “As I’ve always said, the Giants and Giants fans are a part of my family.”

Bonds’ father, Bobby, also wore 25 during his seven years as a Giants outfielder. Bobby Bonds died in 2003.

“Growing up, Candlestick Park was my home away from home, and it is where my dad and godfather Willie (Mays) played,” Barry Bonds said. “For me to have played on the same field as them, wear the same uniform and now have my number retired, joining Willie and the other Giants legends, is extremely special.

“Number 25 has meant a lot to me throughout my career, and it is even more special that I got to share that with my dad.”

Bonds will be the sixth San Francisco Giant to have his number retired.

On the 10th anniversary of his 756th career home run, San Francisco Giants' legend Barry Bonds waves to the crowd during giants' game against Chicago Cubs at AT&T Park in San Francisco, Calif. on Monday, August 7, 2017. less On the 10th anniversary of his 756th career home run, San Francisco Giants' legend Barry Bonds waves to the crowd during giants' game against Chicago Cubs at AT&T Park in San Francisco, Calif. on Monday, August ... more Photo: Scott Strazzante, The Chronicle Photo: Scott Strazzante, The Chronicle Image 1 of / 10 Caption Close Giants retiring Barry Bonds’ jersey number: 25 1 / 10 Back to Gallery

All the others — Mays (24), Juan Marichal (27), Orlando Cepeda (30), Gaylord Perry (36) and Willie McCovey (44) — were honored with statues in China Basin, and Bonds’ number retirement will escalate talk of Bonds getting a statue of his own.

The left fielder was honored last season when included on the Giants’ Wall of Fame. He’s a member of the front office as a special adviser.

“No other Giants player has worn number 25 since Barry’s final season,” Giants CEO Larry Baer said. “It’s time to officially retire his number in honor of his remarkable 22-year career as one of the greatest players of all time and for his countless achievements and contributions as a Giant.

“Barry grew up with the Giants and followed in the footsteps of his godfather Willie Mays and another Giant legend who also wore number 25 -- his late father, Bobby. By officially retiring number 25, we will not only pay tribute to Barry as the greatest player of his generation, but also honor the legacy of two of the greatest players to ever wear a Giants uniform.”

Other Giants numbers of Hall of Famers were retired dating to the team’s time in New York, including Bill Terry (3), Mel Ott (4), Carl Hubbell (11) and Monte Irvin (20). Two other legends, Christy Mathewson and John McGraw, played in an era without jersey numbers.

Bonds, a seven-time MVP, eight-time Gold Glover and the record holder for career and season home runs, has been kept out of the Hall of Fame because of his affiliation with the BALCO scandal and his part in baseball’s steroid era. He received 56.4 percent of the votes, up slightly from last year’s 53.8 percent.

Bonds was indicted for perjury and obstruction of justice by a federal grand jury in 2007, stemming from testimony regarding his alleged use of performance-enhancing drugs. He was acquitted of perjury charges but found guilty of obstruction of justice. In 2015, an appeals court overturned the conviction.

The day of the number retirement, the Giants will play the Pirates, Bonds’ first big-league team. The first 20,000 fans will receive No. 25 caps.

John Shea is The San Francisco Chronicle’s national baseball writer. Email: jshea@sfchronicle.com Twitter: @JohnSheaHey