use globals and hook wp queries to setup map structure