SAN FRANCISCO — Behind the bar at the Kezar Pub, tacked up between the vodka and the whiskey bottles, is a T-shirt dedicated to a broadcaster who drives some fans to drink.

It says: “HEY JOE! GO BUCK YOURSELF.”

Everybody who sees the shirt gets a kick out of it, including the man himself. Joe Buck, the Fox Sports announcer behind microphone for the Cubs-Indians World Series this week, recently found a clever way to answer back after friends alerted him to its presence.

This shirt tale began earlier this year, when Kezar Pub patrons Mick McCarthy and Karen Hourigan created their iconic fashion statement. The color scheme of orange and black is a nod to the Giants fans who think Buck hates their team. (Buck gets that a lot.)

Cyril Hackett, the owner of the Kezar Pub, proudly displayed the shirt in his popular sports bar across the street from the 49ers old home. And it got rave reviews from the start — including from an old school chum of Buck’s who happened to stop by in June while in the Bay Area for a Sonoma Raceway event. The friend took a picture and texted it to Buck, who laughed it off.

But the clincher came in early August, when some 49ers officials popped into the pub a few days before the team’s training camp practice at Kezar Stadium. One of the diners texted a photo to Buck and this time the broadcaster wrote back with immediate orders to get the shirt off the wall so he could sign it.

“The waitress thought I was nuts until I showed her my business card and the texts on my phone,” said Bob Lange, the 49ers vice president of corporate communications.

The 49ers took the shirt back to Santa Clara headquarters for safekeeping. And Buck autographed it earlier this season while in town to call a game from Levi’s Stadium. The 49ers shipped the punch line back to the Kezar Pub, where it now hangs behind the bar as an everlasting toast.

The inscription reads: “Ha! ALL my best! I love SF!! And the fans there — drink up!!! Joe Buck, ’16.”