Looking For Something?

[wps-directory-search]

Purpose

Displays a search feature for your directory.

Availability

Provided in the Core Plugin.

Customising

You can use the global shortcode settings via WPS Pro->Shortcodes in the admin dashboard, or add them to the shortcode as options.

Example

[wps-directory-search]

Options

The following (which shows default values and an example of using the shortcode option) can be set via the admin dashboard (WPS Pro->Shortcodes) or added as options to the shortcode in your WordPress page, post or widget.

Optional CSS for button (class=””)
Optional URL to post search to (url=””)
Style (mode=”text”)
Placeholder text (placeholder=”Enter part of a name…”)
Quick select (for list style) (quick_select=”0″)
Display user login (for list style) (show_user_login=”0″)
Search label (search_label=”Member search”)
Search button label (label=”Search”)
Show with results (show_with_results=”1″)
Logged in to view? (private=”0″)
Need to login message (private_msg=”You need to login to search.”)
Show distance option (distance_show=”0″)
Distance label (distance_label=”Within…”)
Distance options (CSV, miles) (distance_options=”5,10,50,100,500,1000″)
Distance select prompt (distance_default_label=”Any distance”)
Advanced search
Show advanced search (include_meta_show=”0″)
Include avatar uploaded choice (has_avatar=”0″)
Text displayed for above (has_avatar_msg=”Only include users with uploaded avatar.”)
Sidebar