Changeset 1183758
- Timestamp:
- 06/18/2015 08:08:33 PM (11 years ago)
- File:
-
- 1 edited
-
wp-search-live/trunk/README.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-search-live/trunk/README.txt
r1183756 r1183758 22 22 Add the shortcode `[wp_live_search]` to a page or something. There's a few shortcode attributes that you can use, and are as follows: 23 23 24 type="" 24 type="" 25 25 Your choices are `posts` or `pages`. Defaults to `posts`. You can also pass `type,type` to search multiple post types. For example type="recipes,books" 26 26 27 multi="" 27 multi="" 28 28 By default this is turned off. Set this to true only if you're using multiple post types above. 29 29 30 placeholder="" 30 placeholder="" 31 31 The text displayed in the input. Defaults to `Search...`. 32 32 33 results="" 33 results="" 34 34 The text displayed for the results. Defaults to `entries found`. 35 35 36 number="" 36 number="" 37 37 Total search result to return. Default is 20 38 38 39 compact="true" 39 compact="true" 40 40 Makes a tiny WP Live Search for use in header widgets and such 41 41 42 target="" 42 target="" 43 43 An optional target UL parent to send the search results to. Example `target="#someotherdiv"`. 44 44
Note: See TracChangeset
for help on using the changeset viewer.