Plugin Directory

Changeset 1183756


Ignore:
Timestamp:
06/18/2015 08:06:46 PM (11 years ago)
Author:
nphaskins
Message:

go 0.7

Location:
wp-search-live
Files:
29 added
1 edited

Legend:

Unmodified
Added
Removed
  • wp-search-live/trunk/README.txt

    r1182063 r1183756  
    66Requires at least: 3.5.1
    77Tested up to: 4.2.1
    8 Stable tag: 0.6
     8Stable tag: 0.7
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1414== Description ==
    1515
    16 WP Live Search is a search plugin for WordPress that returns results as the user types for what they are looking. It supports posts, pages, and custom post types.
     16WP Live Search is a search plugin for WordPress that returns results as the user types for what they are looking. It supports posts, pages and custom post types.   
    1717
    1818This is very much a working prototype, so please log any issues you find on the Github repo below. 
     
    2020[https://github.com/bearded-avenger/wp-live-search](https://github.com/bearded-avenger/wp-live-search) 
    2121
    22 WP REST API plugin required!
    23 
    2422Add the shortcode `[wp_live_search]` to a page or something. There's a few shortcode attributes that you can use, and are as follows: 
    2523
    26 type=“”   
    27 Your choices are `posts` or `pages`. Defaults to `posts`.
     24type=""
     25Your choices are `posts` or `pages`. Defaults to `posts`. You can also pass `type,type` to search multiple post types. For example type="recipes,books"
    2826
    29 placeholder=“” 
     27multi=""
     28By default this is turned off. Set this to true only if you're using multiple post types above.
     29
     30placeholder=""
    3031The text displayed in the input. Defaults to `Search...`.
    3132
    32 results=“” 
     33results=""
    3334The text displayed for the results. Defaults to `entries found`.
    3435
    35 target=“”   
    36 An optional target UL parent to send the search results to. Example target="#someotherdiv".
     36number="" 
     37Total search result to return. Default is 20
     38
     39compact="true" 
     40Makes a tiny WP Live Search for use in header widgets and such
     41
     42target="" 
     43An optional target UL parent to send the search results to. Example `target="#someotherdiv"`.
    3744
    3845
     
    6774
    6875= Does it support custom post types? =
    69 Not yet
     76Yes
    7077
    7178= Can I use multiple on one page? =
     
    8087
    8188== Changelog ==
     89
     90= 0.7 =
     91* fixed results being returned in reverse order
     92* added multiple post type support by using type="typeone,typetwo" multi="true"
     93* added an option to set the number of results returned
     94* added a "compact" mode option to that it can be used in places like a header widget
    8295
    8396= 0.6 =
Note: See TracChangeset for help on using the changeset viewer.