Porous media used in many practical applications contain natural spatial variations in composition and surface charge that lead to heterogeneous physicochemical attractions between the media and transported particles. We performed Stokesian dynamics (SD) simulations to examine the effects of heterogeneous attractions on quiescent diffusion and hydrodynamic dispersion of particles within geometrically ordered arrays of nanoposts. We find that transport under quiescent conditions occurs by two mechanisms, diffusion through the void space and intermittent hopping between the attractive wells of different nanoposts. As the attraction heterogeneity increases, the latter mechanism becomes dominant, resulting in an increase in the particle trajectory tortuosity, deviations from Gaussian behavior in the particle displacement distributions, and a decrease in the long-time particle diffusivity. Similarly, under flow conditions corresponding to low Péclet number (Pe), increased attraction heterogeneity leads to transient localization near the nanoposts, resulting in a broadening of the particle distribution and enhanced longitudinal dispersion in the direction of flow. At high Pe where advection strongly dominates, however, the longitudinal dispersion coefficient is insensitive to attraction heterogeneity and exhibits Taylor-Aris dispersion behavior. Our findings provide insight into how heterogeneous interactions may influence particle transport in complex 3-D porous media.