Welington Castillo also homered for the Cubs, who won their third straight and five of seven.
Pablo Sandoval drove in a run for the Giants, who have lost four straight and seven of eight.
Tim Lincecum (5-11) had two hits in addition to pitching seven innings. He gave up two runs and four hits. He walked two and struck out a season-high 10.
Wood (7-7) allowed an unearned run while walking four and striking out seven. Wood was 1-4 over his previous nine games. He’s been involved in 10 one-run decisions.
DODGERS 1, REDS 0
Yasiel Puig homered with two outs in the 11th inning to give Los Angeles the victory over Cincinnati.
Cincinnati pitchers set a franchise record with 20 strikeouts. Puig, Adrian Gonzalez, Hanley Ramirez and Tim Federowicz each fanned three times as the Dodgers established their highest single-game total for strikeouts since the franchise moved from Brooklyn to Los Angeles following the 1957 season.
Puig drove an 0-1 pitch deep into the left-field pavilion against rookie Curtis Partch (0-1) for his 10th homer and 23rd RBI in 48 big league games.
The NL West leaders won for the 26th time in 32 games and extended their lead to 2½ games over the Arizona Diamondbacks, who lost 1-0 to San Diego.
Brandon League (6-3) pitched two hitless innings for the win.
MARLINS 3, PIRATES 2
Jose Fernandez had a team rookie record 13 strikeouts in a pitching duel with Gerrit Cole, leading Miami past Pittsburgh.
Fernandez (7-5) allowed five hits and two runs in eight innings. The 20-year-old All-Star right-hander walked none and threw 97 pitches, 74 for strikes.
Cole (5-4) was nearly as good. The rookie allowed three runs and struck out eight in seven innings, but Giancarlo Stanton put the Marlins ahead to stay in the sixth with his 13th home run.
Stanton also doubled, walked and scored twice for the Marlins, who had six hits.