add wordpress port attribute