How to Make Default Result Views for WPL from realtyna on Vimeo.
Since WPL 2.0.0, we have added a style switcher to the property listing view of WPL, so visitors can switch between list and grid and Map styles.

Grid View:
The default value of the style switcher is "Grid" but you can change it by placing a key "value" text into the WPL shortcode. For selecting List style as default, you need to place this text wplpcc="row_box" and for selecting a grid style as default, place this text wplpcc="grid_box" into the WPL shortcode.
For example: [WPL kind="0" tpl="default" wplpcc="row_box"]
List View:
You can change the default view to list view by inserting wplpcc="row_box" into the shortcode.
Map view:
Note: You need to have a WPL Advanced Portal search add-on for this feature.
You need to insert wplpcc="map_box" into the wpl shortcode.
switcher:
If you want to disable the switcher you can place this text into the shortcode: wplpcc_switcher="0"
For example: [WPL kind="0" tpl="default" wplpcc="row_box" wplpcc_switcher="0" ]
|