Promote entanglement trapping in photonic band gaps