wordpress-plugin
wordpress-plugin copied to clipboard
Add "sort by" field option to Omnibar
Description of the Change
This commit adds a "sort by" attribute option to the Omnibar. When set while the extra attribute is also enabled, the Omnibar will show a drop down that allows the user to select how they would like their results ordered.
Verification Process
Added modified Omnibar to a test page and performed various test submissions.
A few example shortcodes:
[idx-omnibar styles="1" extra="1" min_price="1" sort_by="newest"]
[idx-omnibar styles="1" extra="1" min_price="1" sort_by="bda"]
[idx-omnibar styles="1" extra="1" min_price="1" sort_by="sqftd"]
omnibar-sort-by-test.zip can be installed on a test WordPress installation to try out the new functionality.
Release Notes
"Sort by" attribute option added to IMPress Omnibar block and shortcode. Use the "sort_by" attribute when adding the Omnibar via shortcode and set it to one of the Sort Order options mentioned on https://support.idxbroker.com/s/article/Search-Queries-For-Custom-Forms-And-Saved-Links
Review
Pull Requests must have the sign-off of two other developers and at least one of these must be an IDX Broker team member.