modify posts rendering and related variables for locations