A simple reaction scheme based on the heterogeneous intercalation of pillaring ligands (HIPLs) provides a convenient method for systematically tuning pore size, pore functionality, and network flexibility in an extended series of pillared cyanonickelates (PICNICs), commonly referred to as Hofmann compounds. The versatility of the approach is demonstrated through the preparation of over 40 different PICNICs containing pillar ligands ranging from ∼4 to ∼15 Å in length and modified with a wide range of functional groups, including fluoro, aldehyde, alkylamine, alkyl, aryl, trifluoromethyl, ester, nitro, ether, and nonmetalated 4,4'-bipyrimidine. The HIPL method involves reaction of a suspension of preformed polymeric sheets of powdered anhydrous nickel cyanide with an appropriate pillar ligand in refluxing organic solvent, resulting in the conversion of the planar [Ni2(CN)4]n networks into polycrystalline three-dimensional porous frameworks containing the organic pillar ligand. Preliminary investigations indicate that the HIPL reaction is also amenable to forming Co(L)Ni(CN)4, Fe(L)Ni(CN)4, and Fe(L)Pd(CN)4 networks. The materials show variable adsorption behavior for CO2 depending on the pillar length and pillar functionalization. Several compounds show structurally flexible behavior during the adsorption and desorption of CO2. Interestingly, the newly discovered flexible compounds include two flexible Fe(L)Ni(CN)4 derivatives that are structurally related to previously reported porous spin-crossover compounds. The preparations of 20 pillar ligands based on ring-functionalized 4,4'-dipyridyls, 1,4-bis(4-pyridyl)benzenes, and N-(4-pyridyl)isonicotinamides are also described.