Categorize vehicles by their physical location
One taxonomy categorizes vehicle posts by their physical location. Each term in the locations taxonomy is a dealership lot and contains an address, phone numbers, and sets of hours.
Visit Locations under the Vehicles menu in the dashboard to find or edit location terms.
If a site has more than one location, Inventory Presser will automatically include a location sentence on each vehicle details page that describes where shoppers can find the vehicle.
Generate the location sentence in PHP with the template tag
How it Works
The term members hold the address. Phone numbers and hours of operation are stored in term meta. Our demo site’s REST API will always return location term JSON at fridaydemo.wpengine.com/wp-json/wp/v2/location
Dealership or lot name
Full address with line breaks
- The keys ending in
_uidcontain a unique identifier. If you are editing locations in the dashboard, these values will be generated for you automatically.
- Each day of the week has a field ending in
_appt. If the dealership is open by appointment on that day, this value stored as a bit value containing 1 or 0.
Keys & Sample Values
This list of keys contains two phone numbers and one set of hours. There is room for more of each.