Orthogonal Electronic Structure Engineering in Nanoporous Frameworks