14.17.4
Fixes a bug that prevented the plugin from deleting data during uninstallation. Changes tested up to version number to 6.7.
14.17.3
Fixes bug introduced in 14.17.2. Stops escaping HTML in invp_get_the_location_sentence() twice.
14.17.2
Bug fix. Makes strings in blocks translatable. Bug fix. Add default block editor toolbar to all blocks to help users move and remove them. Bug fix when loading editor sidebar. YouTube Video ID block now embeds the video in the block editor. Changes the way most blocks are built so they each have their own block.json file. This will help directories correctly count how many blocks are provided in the plugin.
14.17.1
Helps new users understand where to find the list of vehicles by adding a line to the Listings Pages table on the Settings page for the default post type archive. Detects an empty permalink structure and adds a Site Health test to recommend a change. With default/no permalinks, slash inventory is not added to rewrite rules and the default vehicle archive is /?post_type=inventory_vehicle instead of slash vehicle. Adds an admin notice on the plugin settings page to draw user attention to Site Health when there are recommendations. Bug fix in invp_get_the_last_modified() template tag for support outside the loop. Starts passing the post ID when getting the raw meta value. Bug fix in invp_get_the_carfax_url_report() template tag for support outside the loop. Starts passing the post ID when getting the VIN. Bug fix in invp_get_the_odometer() template tag. Check if the post ID is available from the loop when the passed value is empty or not passed.
14.17.0
Adds blocks for Down Payment, Make, Model, MSRP, Odometer, Payment, Price, Stock Number, Title Status, Transmission Speeds, Trim Level, VIN, Year, and YouTube Video ID. Adds a block called Year, Make, Model, and Trim that outputs those meta fields in an H1. Fixes a number of blocks that were broken, including Beam, Body Style, Color, Engine, Interior Color, Last Modified, Length, and Odometer. Fixes bugs in handling input and output. Escapes more strings before output. Sanitizes more input values before they are used.
14.16.3
Fixes a bug in the [invp_archive] shortcode that prevented orderby and order query parameters from changing the order of vehicles. Fixes a bug in the [invp_sort_by] shortcode that prevented it from working on any page other than an inventory_vehicle post type archive. Bug fixes in the REST API class. Stops assuming posts_per_page and paged will be defined in the query params. Changes tested up to version number to 6.6.2.
14.16.2
Bug fixes in the Add Media and Delete All Media buttons shown in the Classic Editor. Bug fix. Provide default taxonomy settings when a user has never used the Manage Taxonomies button to configure their site. Preserves backwards compatibility to before the setting existed. Changes the [invp_archive] shortcode to allow a location parameter that takes a term slug.
14.16.1
Fixes the price and odometer range filters not working outside the context of the [invp_archive] shortcode. Fixes a bug in the Avada Builder integration added in 14.16.0 to prevent a warning being logged when processing Text Block layout elements that do not have a meta key configured.
14.16.0
Adds an integration with Gravity Forms. Provides a Vehicle field type that allows users to add vehicles to leads captured with Gravity Forms. Achieves compatibility with Avada Builder by adding all vehicle photos as Featured Images and changing the way some meta fields display when used in Text Block layout elements. Redesigns the Listings Pages settings table to fit on narrower screens. Adds a warning to Divi users that the feature does not work on Divi.
14.15.0
Adds a setting Provide Templates at Vehicles > Options. Lets users toggle the provided templates for archive and single vehicles. Adds WS Form to the list of recognized form builders in the Singles Contact Form setting. Bug fix. Fixes the Add Listings Page button in the settings. This button stopped adding a new row to the Listings Pages table in 14.14.0. Edits WP All Import integration to detect semicolon as an option delimiter in addition to pipes and commas.
14.14.2
Adds a meta noindex nofollow tag to inventory archives that are filtered by 2 or more of our taxonomies. Prevent /inventory/make/toyota/make/lexus/fuel/gas/ from being indexed or followed by bots. Bug fix. Register scripts in the dashboard. The location taxonomy add phone and add hours buttons were broken because the script powering them stopped loading. Bug fix. Restores VIN to vehicle attribute table. VIN was erroneously removed in 14.14.0.
14.14.1
Bug fix. Restores VIN to vehicle attribute table. VIN was erroneously removed in 14.14.0.
14.14.0
Adds a setting "Singles Contact Form" at Vehicles → Options to embed a lead form on vehicle single pages. Supports Contact Form 7, Gravity Forms, and WP Forms. Adds "make" and "model" attributes to the Inventory Grid and Inventory Slider. Changes the "Show All Taxonomies" option to a "Manage Taxonomies" button that leads to another options page. Users can now toggle which taxonomies are active, show in the admin menu, and display in editors for each vehicle type. This makes the plugin much more friendly to boat dealers and anyone managing vehicles that are not passenger cars. Adds better support for the Classic Editor. Adds more boat fields for condition, draft, number of engines, engine make, engine model, and horsepower. Adds template tags for boats including invp_is_boat(), invp_get_the_condition_boat(), invp_get_the_draft(), invp_get_the_engine_count(), invp_get_the_engine_make(), invp_get_the_engine_model(), and invp_get_the_horsepower(). Stops showing an admin notice on this plugin's settings page. Adds the information to the Site Health page under the Tools menu instead. Makes more strings translateable, including default boat styles and hull materials. Bug fix. Prevent invp_get_the_photos() from returning a list of urls containing empty strings. Vehicles with broken images would prevent the flexslider from starting on details pages. Stops removing the odometer field from the vehicle attribute table for boats. Changes the fields for boats in the attribute table shortcode, and therefore the default archive and single templates.
14.13.0
Updates WP All Import integration to detect comma-delimited options. Previously, only pipe-delimited options were split into the meta field during imports. Fixes a bug in the "hours today" sentence. Stops using the PHP function jddayofweek().
14.12.7
Fixes a bug introduced in 14.12.6 that broke this plugin's Block Editor sidebar.
14.12.6
Fixes a bug that caused an intermittent error in the Block editor "Updating failed. The response is not a valid JSON response." Stops showing the Vehicles admin bar item to logged in users who cannot edit posts. Adds an ID parameter to the [invp_photo_slider] shortcode so it can be used on any page. Fixes bugs in the [invp_inventory_slider] shortcode so it operates more closely like the widget. Adds a showcount parameter. Fixes a bug that redirected 404 vehicle requests in the dashboard to the front end error page instead of the empty posts list. Changes tested up to version to 6.5.2.
14.12.5
Adds support for marking vehicles "Sale pending". Adds a term to the Availability taxonomy during plugin activation. Adds a template tag invp_is_pending(). Shows "Sale pending" instead of any price. Removes valid html title opening tags from readme.txt and changelog.txt. These files can more easily be more easily embedded in web pages. Changes tested up to version to 6.5.0.
14.12.4
Optimizes the way sliders are resized when the browser window is resized. Fixes a bug when prefixing taxonomy term URLs with /inventory to avoid extraneous database queries. This was breaking the menu administration page. Updates the install instructions in readme.txt.
14.12.3
Fixes a CSS bug in the inventory grid shortcode and widget. Fixes a bug causing duplicate search results in some themes since 14.12.2.
14.12.2
Fixes a bug in the photo rearranger Gallery Block when comparing photo numbers. Fixes a bug when saving vehicles to prevent duplicate meta values for meta registered as singles. Fixes a bug where all search queries sitewide were joined to the taxonomy term tables. Vehicle data in terms is mirrored in post meta, so this was no longer necessary. Fixes a JavaScript bug when loading photo sliders on vehicle singles where the vehicle only has one photo and a carousel is not displayed. Stops adding a querystring containing the photo has to photo link URLs.
14.12.1
Fixes a bug introduced in 14.12.0 in the Grid widget when Show Captions is enabled.
14.12.0
Adds an API method INVP::currency_symbol() and a filter
invp_currency_symbol
to allow the default US dollar sign to be changed. Adds a
show_odometers
parameter to the Grid shortcode and widget.
14.11.4
Updates demo site URL to
https://demo.inventorypresser.com/. Fixes bugs in flexslider spin-up script when used outside single vehicle context. Makes more strings translateable. Changes the tested up to version number 6.3.2.
14.11.3
Adds a REST endpoint
/wp-json/invp/v1/feed-complete
to help inventory clients run an action hook
invp_feed_complete
after an inventory update has completed. Adds a filter
invp_query_limit
around the number 1000 where it is used as the maximum posts_per_page argument in post queries. Prevent prev and next buttons in flexslider carousels from covering the width of an entire thumbnail. Fixes in flexslider spin up script for slow-loading pages. Prevent YouTube embeds from interfering with photo sliders. Reverses a change in 14.11.2 and uses the
enqueue_block_editor_assets
again to avoid front-end JavaScript errors. Prevents scripts and styles from being registered more than once. Prevents the Load Sample Vehicles button from inserting duplicate VINs. Enables the Load Sample Vehicles button to insert more than 10 vehicles. Stops telling dashboard users when the aspect ratio of thumbnails is not that of a common smartphone camera. Allows a location term street address to be entered on the add term form instead of requiring users to save a location term first.
14.11.2
Compatibility fixes for WordPress 6.3. Stops using the
enqueue_block_editor_assets
hook in favor of the new
enqueue_block_assets
. Stops using the
post__not_in
query variable on the
parse_query
hook. Compatibility fixes for PHP 8.1. Stop sending null to the first parameter of strpos(). Stop sending a non-string file name to wp_get_image_mime(). Prevent queries from returning an unlimited number of posts. Caps queries for vehicle photos to 1000. Fixes the Grid Widget to obey the "Newest vehicles first" setting. Fixes in the "down & payment" price display option that prevented down payments and payment frequencies from displaying. Fixes in database queries to always use the proper table prefix.
14.11.1
Reduces the number of database queries required when adding cache-busting querystrings to photo URLs. Adds caching in invp_get_the_photos() for 5 minutes to reduce database queries. Makes sure invp_get_the_photos() always populates URLs regardless of what sizes are requested. Bug fix in INVP::sluggify(). Do not allow a string that starts with a symbol to create a slug that starts with a hyphen.
14.11.0
Adds a fullscreen mode to flexsliders so large vehicle photos can bust out of their containers when tapped by users. Cleans up flexslider JavaScript to use much less jQuery and wait for slow images to load before attempting resizes. Fixes a bug where paging was broken for Listings Pages defined at Vehicles → Options. Makes more strings translateable, adds more taxonomy term labels so the Block Editor stops showing "category" instead of "make", "model", etc. Allows more than 30 meta keys in the Custom Fields editor panel when editing vehicles. Adds a Contact Form 7 mail tag [invp_adf_vendor] to integrate the location taxonomy into ADF XML leads. More details at
https://inventorypresser.com/docs/contact-form-7-integration/how-to-send-adf-xml-leads-using-contact-form-7/. Fixes a CSS issue that caused the Annual fuel consumption line to overlap the combined, city, and highway figures in the Fuel Economy widget.
14.10.2
Adds a template tag
invp_get_the_condition()
that returns "Used", "New", or empty string. Adds an API method
INVP::get_paging_html()
that previously lived inside the [invp_archive] shortcode class. Creates better pagination HTML for listings archives. Fixes a bug in the Block Editor sidebar. Stops attempting to save empty strings in numeric meta fields when their text boxes are emptied. Makes more strings translateable. Stops lying about whether vehicle posts have thumbnails unless our archive shortcodes are run or the Divi Blog Module is detected. The lie helps us work on most themes by avoiding the theme and our shortcode from both outputing a thumbnail. There's no reason to do this unless the shortcode is used.
14.10.1
Fixes a bug introduced in 14.10.0 that prevented inventory archives from being sorted according to the saved setting.
14.10.0
Adds a WPForms integration. Adds a Vehicle field type. This field will produce a dropdown on forms not embedded on vehicle singles. On vehicle singles, a hidden input will identify the vehicle the user is looking at. Adds two Smart Tags {invp_adf_vehicle} and {invp_site_url} to make creating ADF XML lead emails easy when following
these instructions. Adds a parameter to the [invp_inventory_grid] shortcode
priced_first
to put vehicles with prices first. Adds the list of taxonomy links to the settings page near the checkbox to toggle them in the menu. Performance improvements by avoiding several get_option() calls until they are necesary. Removes a call to load_plugin_textdomain() because it is obsolete. Stop warning users about thumbnail size aspect ratios if they are not 4:3. 16:9 is the new mainstream ratio, so check for either. Fixes CSS in the Listings Pages table of the settings page. Stops loading Classic Editor features when the Classic Editor plugin is not active and other dashboard performance improvements around not loading features until they are necessary. Adds support for SCRIPT_DEBUG in all script and style registrations. Adds plugin version number to script and style registrations so they can be cached appropriately. Changes link labels in the dashboard when editing taxonomy terms for specificity like "model years" instead of "tags".
14.9.0
Adds a function invp_get_the_inventory_sentence() that returns an HTML string containing links like, "Browse Car, SUV, Truck, or all 10 vehicles for sale." Wraps the "/" that separates prices and down payments with a filter
invp_price_display_separator
so it can be changed by other developers. Adds a parameter to the [invp_sort_by label=""] shortcode
label
to let users customize or remove the label text next to the dropdown. Enables the JavaScript filter
invp_editor_sidebar_elements
that was disabled in 14.8.0. The filter was not the problem. Fixes a bug in the [invp_sort_by] shortcode that prevented any sort from happening when a choice was made in the dropdown. JavaScript was missing from this plugin that powers the feature.
14.7.1
Adds postmeta fields
inventory_presser_rate
and
inventory_presser_term
to the vehicle post type for dealers outside the USA where displaying financing terms without a disclosure may be legal. Adds a "No filter" option to the Additional Listings Pages feature to allow the creation of full, unfiltered archive pages at any URL. Adds a toggle switch to Additional Listings Pages so rules can be saved in an inactive state. Adds a "contains" comparison operator and "Options" to the list of comparison fields in Additional Listings Pages filter rules. Adds a parameter to the [invp_inventory_grid] shortcode to suppress "Call for price" if the sitewide price display setting is ${Price}. This restores behavior produced by a bug described below. Fixes a bug in the [invp_inventory_grid] shortcode that prevented "Call for price" from displaying if show_captions and show_prices were both true and the price display setting sitewide is ${Price}. Fixes syntax errors that impact old versions of PHP including 7.2. Fixes bugs in multiple shortcodes that prevented true/false parameter values from working the way users expect. "true", "1", and 1 are all now working. Likewise with false values "false", "0", and 0. Renames the Additional Listings Pages feature to Listings Pages.
14.6.0
Stops showing sold vehicles in the [invp_inventory_grid] shortcode and Inventory Grid widget when the "Include sold vehicles" setting is off. Stops hitting
inventorypresser.com as often to check for valid add-on licenses. Fixes a bug that showed the Boat Attributes field in the Editor Sidebar for non-boat vehicles. Adds a feature that changes the <title> tag on inventory archives. Adds a JavaScript filter
invp_editor_sidebar_elements
to let other plugins add to the Editor Sidebar where vehicle attributes are managed. Adds additional meta fields for Carfax "Accident Free" and "Top Condition" badges. Adds a filter
invp_meta_fields
so other plugins can add meta fields to the vehicle post type.
14.5.0
Adds a feature enabled by default: Adds a gallery block to new vehicle posts with a specific CSS class that allows users to upload and reorder photos on vehicle posts in the block editor. This is merging the invp-photo-arranger feature plugin into Inventory Presser core. Deactivate and delete invp-photo-arranger after upgrading to 14.5.0.
14.2.1
Adds two template tags
invp_get_the_location_state()
and
invp_get_the_location_zip()
. Wraps vehicle prices in a element in the [invp_inventory_grid] shortcode so they can be more easily styled.
14.1.0
Adds a Contact Form 7 mail tag [invp_adf_timestamp] to help insert ISO 8601 timestamps into ADF XML lead emails. Adds a Contact Form 7 mail tag [invp_adf_vehicle] to help insert vehicles into ADF XML lead emails. Adds a "No vehicles found." message to the [invp_archive] shortcode when there are no vehicle posts that satisfy the query. Adds a default false value for the use_carfax setting so it shows up in REST at /wp-json/invp/v1/settings consistently. Wraps the vehicle YMM string in a link in email sent using our Contact Form 7 form-tag [invp_vehicle].
14.0.0
Integrates WP All Import to allow CSV feed imports. Integrates Contact Form 7 to add a [invp_vehicle] form tag. Improves [invp_single_vehicle] output and adds a filter
invp_single_sections
to allow customization. Removes all deprecated methods and constants, all of which have replacements. Removes the [iframe] shortcode that was replaced by [invp_iframe].
13.8.2
Changes the slider widget to show only 2 vehicles at a time on smaller devices. Bug fixes. Increases compatibility with inventory photos that were inserted by other services and do not have sequence numbers saved in post meta. Relies on the post_date for photo sequence when our meta key is not found.
13.8.1
Adds a minimized version of the leaflet.js CSS file. This file is used by the Map widget. Bug fix when resizing flexslider images to avoid stretching images wider than their full size dimensions.
13.8.0
Adds template tags
invp_get_the_last_modified()
and
invp_get_raw_last_modified()
. Registers all scripts and styles on the
enqueue_block_editor_assets
hook so blocks can use them. Adds & implements iFrameResizer.js in the [invp_iframe] shortcode instead of relying on the themes like _dealer to provide the library and resize iframes. Bug fix when looking for an SVG file path in the Carfax Widget. Bug fix in the
invp_get_the_transmission_speeds()
template tag. The single
$post_id
argument is now optional, matching all other template tags.
13.7.1
Changes tested up to version number 5.9.2. Increases compatibility with more themes out of the box, and specifically themes like GeneratePress that call and filter the_content multiple times when rendering a page. Fixes block category creation so all this plugin's blocks are nicley grouped. Fix in the Sort Vehicles By setting when a date field like last modified is chosen. Fixes plugin update nags in multisite installations to look more like core update nags.
13.6.0
Upgrades the [invp_archive] shortcode to support taxonomy and querystring filters and sorts. Adds a template tag invp_is_featured(). Changes the "was now discount" price display to fallback to showing the price when the MSRP is empty or the difference is not a positive discount. Previously, the setting would fallback to "Call for Price" even if a price value was available.
13.5.0
Renames the Google Map widget to Google Map (legacy). It still works for an unknown amount of time. Adds a Google Map widget. This new widget implements the v3 JavaScript API and requires an API key. Adds street address, street address line two, city, state, and zip fields to the Edit form when editing a term in the locations taxonomy. Allows users to specify and save the pieces of the address instead of the whole, multi-line address we store in the term description. This makes latitude and longitude decoding more accessible to users. When a location term is saved, these meta values are used to populate the term description.
13.3.0
Upgrades the add-on framework to simplify the building and integrating of add-on plugins. Adds a colors taxonomy to help users shop by base color.
13.2.1
Contains a bug fix in the Map widget to prevent widget titles from sitting underneath the map. Changes tested up to version number to 5.8.0.
13.1.1
Now saves latitude and longitude coordinates with location term addresses when they are fetched from
OpenStreetMap.org for use in the Map widget. Enables more than one Map widget to appear on the same page. Bug fix in the Hours widget.
13.1.0
Contains bug fixes and adds a new maps widget called Map that succeeds the Google Map widget. Google deprecated the API upon which the Google Map widget is built, and has indicated it will cease working any day. The new widget is built on leaflet.js and uses map tiles/imagery from MapBox.
13.0.0
Version 13 is smaller than version 12! Instead of shipping with two sliders, all slideshows are now powered by flexslider. This version drops a dependency on slick.js without losing functionality or changing the look and feel of sliders. Fixes a bug when displaying our placeholder "no photo photo" near vehicles that have zero photos.
12.3.0
Adds a setting to control whether vehicles use Trash when deleted. Adds a shortcode [invp_photo_slider]. Creates relationship with "For Sale" term in Availabilities taxonomy when vehicles are added with the editor. Fixes a bug that prevented boat fields from appearing in the vehicle attribute table.
12.2.7
First version that adds a "date entered" field to vehicles posts. Bug fix in the hours widget to no longer highlight Friday and Monday at the same time for some sets of hours.
12.2.6
Changes the default button text for NextGear vehicle inspection reports from "See Digital Inspection Report" to "Mechanic's Report." Fixes bugs.
12.2.5
This release is the one we shipped to
wordpress.org and the world as our open source launch.
11.8.2
The first version with DocBlock comments on all classes and methods.
11.7.0
This version makes the job of REST API clients that update vehicle data much easier by adding meta fields that overlap and updated all custom taxonomies.