This version brings several important new features:

Wildcard support

http://example.com/?field=abc* will fetch all posts that have a meta key field with any value beginning with abc: ‘abc’, ‘abcd’ etc.

The ‘*’ character can appear multiple times, anywhere: http://example.com/?field=*ab*c*&another=foo*bar

Relevance:

There’s a new checkbox in the settings page that allow the following behaviour:

http://example.com/?key1=value1&key2=value2 will fetch posts that have at least one of those key=value pairs.

There is also a new template tag that displays the relevance for each post: meta_relevance()

Enhanced search & replace

Now you can select in which meta taxonomy you want values replaced. This allows for better control over your custom fields.

Important: The parameters for meta_cloud() have changed. Check template-tags.php to learn more.

Comments (7)

  • stefano says:

    hi Scribu!
    im always the first to comment! i have just upgraded

    im using wordpress 2.6.3

    after installation my footer comes with this

    SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_term_taxonomy ON (wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id) WHERE 1=1 AND wp_term_taxonomy.taxonomy = ‘category’ AND wp_term_taxonomy.term_id IN (‘567′) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘private’) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 1

  • stefano says:

    thanks Scribu now i have another problem

    http://home.edizioninottetempo.it/category/stampa/rassegna-stampa/?autore=Milena%20Agus

    comes with:
    Fatal error: Call to a member function get_queried_object() on a non-object in /home/edizioni/public_html/wp-content/themes/mimbo2.2/searchform.php on line 53
    with my new searchform.php module

    or it comes with nothing with standadr wp searchform

    Sorry, but you are looking for something that isn’t here.

  • stefano says:

    i have just this at line 30
    $pageposts = $wpdb->get_results($querystr, OBJECT);

    on previous version of your plugin ti worked everything
    in any case can i downgrade?