We uncover a rich set of optical phenomena stemming from the incorporation of polar materials exhibiting transverse phonon polariton excitations into a photonic crystal structure. We identify in the frequency spectrum two regimes in which the dielectric response of the polaritonic medium can induce extreme localization of the electromagnetic energy. Our analysis of the effect of polarization and the interaction between the polariton and photonic band gaps on the Bloch states leads to a pair of mechanisms for sensitive frequency-controlled relocation and/or reconfiguration of the fields.