A series of isostructural pillar-layered MOFs with different functional groups have different CO2adsorption capacities.