Every big sight has a two-hour ceiling for a small child. Split the day: one sight, one park or pool, one meal that the child will actually eat. Carry tissues — public toilets often have none — and know the location of the nearest mall, which is the reliable place for a clean toilet and a break.
Where strollers fail, where children are welcome, and how to keep a five-year-old alive through a three-hour museum.
The short version is above. The long version — hourly, with the sentences to use — is in the city guides below, and in a custom plan for your dates.
Or read three cities in full, free: Beijing, Xi'an, Shanghai. Printable arrival checklist: here.