Successful incorporation of triptycene into benzimidazole-linked polymers leads to the highest CO2 uptake (5.12 mmol g(-1), 273 K and 1 bar) by porous organic polymers and results in high CO2/N-2 (63) and CO2/CH4 (8.4) selectivities.