- Improved the frontend sorting controls so sorting options can force a sorting direction.
- Improved the frontend sorting controls so sorting options can force sorting direction labels.
- Improved the frontend sorting controls so the first option is always in sync with the stored Views sorting settings.
- Improved the usability of pagination controls as nav links by providing some canonical classnames to the HTML structure.
- Fixed an inconsistency in the error styling of the name input field when creating a Content Template with a name that already exists.
- Fixed an inconsistency in the button state when an error occurs while creating a new View and a new WordPress Archive.
- Fixed an issue where the state of the help boxes in the Views and WordPress Archives edit page closed by the X icon was not saved.
- Fixed an issue with the “Empty trash” button in WordPress Archives that wasn’t deleting WordPress Archives that were created through a WordPress Archive Layout cell.
- Fixed an issue that produced a console error after interacting with a View added dynamically to a page.
- Fixed an issue that excluded some post classes from the {{wpv-post-class}} shortcode output when performing AJAX operations.
- Fixed an issue where posts belonging to a deleted custom post type are among suggestions in WP Views Filter widget search.
- Fixed an issue where a broken View edit link appears, when the selected View is trashed or deleted.
- Fixed an issue on conditional output shortcodes when evaluating a missing field value for a parent post.
- Fixed a PHP Warning when using the {{wpv-heading}} shortcode without using the optional attribute “name”.
- Fixed the syntax highlighting on CSS and JavaScript editors, by forcing the right language mode.
Views 2.3.1 introduces several improvements on the front-end sorting controls and fixes some bugs.
Frontend Sorting Controls improvements
Views 2.3.1 includes some incremental improvements for the front-end sorting controls introduced in 2.3.
For example, now it is possible to set a sorting direction along with a sorting option, so every time someone decided to sort by, say, post date, the results default to displaying the new posts first.
Also, we improved the dialog for inserting the sorting controls. Now, the first control option is always in sync with the stored Views ordering settings.
Finally, we extended the labeling options, so each sorting option can force a different set of labels on the sorting direction control. This way, when sorting by post title you can offer the directions A to Z or Z to A, but when sorting by post date you can offer the Newer first or Older first directions.
Learn all about this, and more, on the page about using the front-end sorting controls.
Other improvements
Views 2.3.1 introduces some customization attributes for the pagination shortcodes, along with some bug fixes.
You can find the full list in the changelog.