WASHINGTON — President Trump honored the world champion Chicago Cubs at the White House Wednesday — but only after ribbing the owner of a team in a different sport.

Surrounded by a number of Cubs players for a photo-op with their trophy, the president became preoccupied with another guest.

“Where’s Dan Gilbert?” Trump said, ordering an aide to bring the Cleveland Cavaliers owner into the ceremony in the Roosevelt Room.

“He’s looking for a good basketball player,” Trump mused.

“Anybody play basketball?” Trump said, turning to the baseball players.

Gilbert was at the White House for an entirely different meeting on urban economic development.

Trump continued to beckon Gilbert into the Cubs gathering and teased him for the Cavaliers losing the NBA championship this year to the Golden State Warriors.

“So Dan owns the Cavaliers,” Trump explained to the Cubs.

“Good season. Last season was a great season.”

As Gilbert walked up, Trump egged on the baseball players to tease Gilbert, whom he described as a friend and supporter.

“Ask him how he’s doing with LeBron (James),” Trump said of the Cavaliers’ star player.

Trump also spotted Dan Coats, his Director of National Intelligence, in the crowd and urged him to come up and join the photo. Trump then invited the entire group to follow him.

“Does anybody want to see the Oval Office?” Trump asked.

Several players nodded their heads.

The team presented Trump with a Cubs jersey numbered “45.”

The Cubs beat the Cleveland Indians in the 2016 World Series and were previously honored by President Obama, a Chicagoan, in January before he left office.

The team’s chairman, Thomas Ricketts, was once a Trump Cabinet nominee.