php code added to sidebar