base wp code with  DB configs