The inventory grid shortcode produces the same output as the Inventory Grid widget.
Demo
Try a demo at Sliders & Grids→
Visit the class reference at https://inventorypresser.com/docs/reference/classes/inventory_presser_shortcode_grid/
Parameters
columns
- integer
- The number of columns in the grid
- Default value: 3
featured_only
- boolean
- Show only featured vehicles in the grid
- Default value: false
limit
- integer
- Maximum number of vehicles to show
- Default value: 15
make
- string
- Filters vehicles by manufacturer
- Default value: empty
model
- string
- Filters vehicles by model
- Default value: empty
newest_first
- boolean
- Sort vehicles by last modified date descending
- Default value: false
show_button
- boolean
- Include a “Full Inventory” button at the bottom of the grid
- Default value: true
show_captions
- boolean
- Show text captions for each vehicle containing year, make, an model
- Default value: false
show_prices
- boolean
- Include prices in captions if
show_captions
is true - Default value: false
priced_first
- boolean
- Place vehicles without prices at the bottom of the grid
- Default value: false
Screenshot
