WP Custom Fields Search 0.3

Front End ScreenshotThis is my search plugin for wordpress, designed to filter posts in a more structured way than the default wordpress search. Specifically it allows multiple form inputs to be configured to search different aspects of a post, i.e. one term could search the post content, one the post title and one could search a custom field associated with the post.

The blog admin is able to build a customised search form. It allows you to search by the standard post information and by custom fields and to choose what HTML form elements should be presented for each search field.

I originally developed this plugin for a client project. Basically the problem they had was that they were storing real estate data as wordpress posts with associated custom fields and they wanted to search for entries based on price, location and features which was not possible with the default wordpress search.

The plugin is now at point where I think it could be useful to other people although I’m aware that there are a lot of improvements that could be made. Please let me know if you have any suggestions or complaints and I will do my best to get them resolved.

You can download the plugin here.

System Requirements

I have tested with the following software versions, other versions may or may not work.

  • PHP Versions 4.4.9 and 5.2.6
  • WordPress 2.5, 2.7 and 2.7 MU

Quick Start Guide

I will try to put more complete documentation together at some point but for now this is a quick start guide to building a search form.

  1. Install the plugin. Download it here unzip it in your wp-content/plugins folder, then activate it in the plugins > installed page of your wordpress admin site.

Method 1: Add the search as a sidebar widget

  1. Add the widget to the sidebar on which you want it to appear. Go to the appearance > widgets section of the admin page, in the list on the left find the widget “Custom Fields Search” and click the add button next to it. It should appear in the list on the right. Click save changes
  2. You should now have a basic search form on the front of your site, to customise this further read on to see how to reconfigure your fields.

Method 2: Add the search code directly into your template

  1. Go to the custom fields config page in your admin section, Settings > WP Custom Fields Search
  2. Copy the example PHP code from this page into your template file.
  3. You should now have a basic search form on the front of your site, to customise this further follow the instructions below for setting up fields.

Setting up the fields

Admin Screenshot

Admin Screenshot

Each field has a number of settings which control the way the input appears to the user and the way the search is performed. Most of the settings are hidden when you first go to edit the widget and you will need to click the show/hide config button to get access to many of the parameters.

Label sets the label displayed next to the field, you can set this to whatever you want.

Data Type controls what type of data is being searched (i.e. what database table is being used). The standard options are “Post Field” for data such as post title and post content, from the standard wordpress post data, “Custom Field” for data from the custom fields, and “Category” to search on the categories a post is in.

Data Field makes a more specific selection from the data available. The drop down list should give some sensible options, or if you know the name of the database field you want to query you can type this in manually.

Widget controls what type of HTML input is created for the front end of the site. It should be fairly obvious what these do.

Some widgets will require extra options in the Widget Options field. At the moment this is just the drop down and radio button widgets which allow you to specify a list of values for the user to choose from. If you leave the options blank then they will be automatically populated with a list of all values currently in the database, this can be useful for fields like categories and tags, but is less useful for fields like title which would just generate an entry for every post in the blog. If you want to specify the values manually you can specify this as a comma separated list of values, ‘a,b,c’ for three options with values ‘a’, ‘b’ and ‘c’ respectively, or if you want to give ‘friendly’ labels to the user you can separate the value from the label using a colon as follows ‘a:Group A,b:Group B,c:Group C’.

The Compare field controls the way that the user input is compared to the data in the database. I would expect the most commonly used of these to be “equals” which requires an exact match between the user data and the database field (useful for category searches) and the “Words in” or “Phrase In” types which will search to see if the user input is a part of the data, rather than a full match, this is useful for things like searching the text of a post. The difference between ‘words’ and ‘phrase’ is that ‘words’ splits the input into a series of words and searches for these individually whereas ‘Phrase’ searches for all the words in sequence.

The “Less Than” and “More Than” comparisons ensure that the data is less than or more than the user input respectively. This is probably only relevant for numeric input but it can be used for strings as well and will search alphabetically. For numeric input it can help to also tick the “Numeric” checkbox as sometimes the database will be set up to compare numbers alphabetically (so that 10 is less than 2).

The “Range” comparison is a little more complicated and requires the user input to be of the form A-B to return results that are between A and B. This is primarily intended to be used for Drop-downs and radio buttons where the values can be set by the site administrator. If you specify the values for the dropdown like the following: “-10:Less Than 10,10-20:Between 10 and 20,20-:More than 20″, then the user will be presented with the options “Less Than 10″, “Betwen 10 and 20″ and “More than 20″ but the search will be done with the values “-10″,”10-20″ and “20-”. Again the numeric checkbox should be used for numeric data.

I hope that helps, please let me know if you have any trouble (or joy) with the plugin or if any of my instructions don’t make sense.

Using Presets

Presets are a new feature in version 0.3, they allow search forms to be configured separately from the sidebar widgets, the configured form doesn’t directly appear on the site but can be included in two ways.

Firstly, by copying and pasting the php code from the preset config page into a template file you can place a search form anywhere you want in your template.

Secondly, by using a preset as the basis for another search form.  When setting up a search form you have the option of selecting one of the presets from a dropdown list.  Selecting one will include all of the fields from this preset in your form.

Presets are configured in exactly the same way as the sidebar widget, you can find the presets in the “Settings > WP Custom Fields Search” section of your admin site.

Extending Custom Search

For developers, I’ve tried to build this in a modular way to allow extensions to be added, I will try to document this at some point in the future but if you can’t wait then the best places to get started would be to look at the filter ‘custom_search_get_classes’ in custom-search/custom-search.php and the Great Real Estate bridging code in custom-search/bridges/greatrealestate.php.

This plugin is at quite an early stage in development though so it is likely that future versions may not be compatible with the same extension interface and it is likely that any extensions will need altering when new versions are released..

Changelog

Since 0.2

Since 0.1

  • I’ve reworked the UI and added some more sensible default values, hopefully this should make it less daunting for new users.
  • Fixed a few bugs.
  • Added in textual descriptions of the search parameters (for themes which support this)

Category: Wordpress Plugins | Tags: , , , 85 comments »

85 Responses to “WP Custom Fields Search 0.3”

  1. baron

    Works great, thank you

  2. Florent

    Hi,

    Thanks, great plugin that fits quite exactly my needs for the site I’m settiing up.

    I’ve notice one surprising bug, though : once your plugin is activated, it makes it impossible to edit the theme with wordpress 2.7.1 theme editor :

    The theme editor opens all right with the default file (usually style.css), but whenever you try do access another file (index.php, for instance), it stays on the default file :

    basically, your plugin seems to interfere with


    http://www.whateverthesiteis.com/wp-admin/theme-editor.php

    and prevents theme-editor.php from taking into account the parameter


    ?file=/themes/theme_name/file.php&theme=theme_name

    This can be worked around by de-activating it while editing the theme, and/or by editing it locally and uploading to the site once finished, but it’s still a little troublesome…

  3. Florent

    Quite logically, same problem with the wp-admin/plugin-editor.php

  4. Don

    Thanks Florent, I hadn’t noticed that one. Seems I was polluting the global namespace which was confusing the file editing process.

    I’ve put a new version up now, both on this page and on http://wordpress.org/extend/plugins/wp-custom-fields-search

    Please let me know if that doesn’t fix it for you, or if you spot anything else.

    Thanks again,
    Don

  5. Florent

    Thanks,

    The correction fixes it. Half an hour must be some kind of world record for plugin author reactivity… Many, many thanks !

  6. Sal

    Hi Don, thanks or your efforts on this. I have been doing some testing on my site with this plugin. I have one category which I want to search only. So I enabled two custom field drop downs (“Area” and “Menu”) and a category drop down with only value of “restaurants”.

    I enabled a widget with these three parameters on the sidebar.

    When I search with Area = ANY and Menu = ANY, the serach works by showing me all posts in category = “restaurants”.

    When I search with Area = some value, AND/OR Menu = some value, I get the correct results ONLY WHEN I REMOVE THE CATEGORY dropdown.
    I do not get ANY results when Area = some value, AND/OR Menu = some value, and category is set to restaurants.

    Do you think this is a problem with a query or a setting on my side? I have verified that the custom fields are present and the same posts are classifed in the “restaurants” category.

    The problem is that if I use the SEARCH with NO category set, and if a user does a search of Area = ANY and Menu = ANY, then they will get a list of ALL my posts in ALL categories which is not desired.

    Thanks for any feedback. Apologies if this is not the right forum for support.

  7. Ghozan

    dear sir

    i finished isntall this script, but i have a problem.

    error message :

    Fatal error: Call to a member function Show() on a non-object in /home/sloki/user/h10562/sites/yop.web.id/www/wp-content/themes/hybrid/search.php on line 14

    pls help me.

    thanks

  8. Breecypex

    Great site this http://www.don-benjamin.co.uk and I am really pleased to see you have what I am actually looking for here and this this post is exactly what I am interested in. I shall be pleased to become a regular visitor :)

  9. Arun Basil Lal

    The default Search for WordPress really sucks and now this is some relief. I am gonna use this in some of my client sites :) Thanks a lot. Let me see whats inside..

    Arun Basil Lal

  10. Waryamola

    FANTASTIC!

  11. prakash

    Hi

    This plug in looks good and Its has Great Moto , i am very happy with this , because i need search functionality for real estate project in word press. i configure this plugin success fully , but the thing when i select city value which is in the real estate database , instead of displaying results it will display like

    ” No posts found. Try a different search?Search for: ”
    Key Words contains “hyderabad” this is displaying in text field.

    please give me solution for this.

    Thanks & Regards
    Prakash

  12. Don

    Prakash: How is the city value stored in the database? It looks like the search is being done on the main text and title of the post, is this where the city value should be? Or would it be in a custom field?

  13. prakash

    Hi Don

    Thanks For Reply , i explained u clearly how “custom search plug in” configure in my system

    1.Installed “wp-custom-fields-search.0.3.9″ .
    2.in Appearance => Widgets => Added “Custom Fields Search”
    3. in configuration

    1. search Title : Proerty Search
    2. Use Preset : Proerty Search
    3. Label : City
    4. Data Type : Great Real Estate
    5. Data Field : City
    6. Widget : Drop Down
    7. Compare : Words In
    8. Numeric : uncheck
    9.Widget Config : empty.

    in this way i configured in my system and save changes.

    my real estate database settings like this

    Table name : wp_greatrealestate_listings
    fields like id,pageid,address,city,state,postcode,mlsid,status,blurb,bedrooms,bathrooms,

    please guide me how to reach this functionality.

    Thanks & Regards
    Prakash

  14. Berardo

    Works great, fantastic plugin.
    Only a suggest: when choose category as data type, add an option to retrieve a particular category (e.g. category called ‘news’ or with the id ’1′).
    Nice work, man.

  15. Don

    A few people have asked for this functionality, so I’m considering putting in a better interface for it.

    For now though, if you write the categories you want to include as a comma separated list into the “DropDown Options” field then only these categories will be displayed.

  16. Terry

    Heya, I am building a site and found your plugin is just what I needed.

    Only problem is that I selected the Category and Tag dropdown menu’s but it is not showing all the categoies or tags… Please advise.

    http://dmrguide.com

  17. Don

    Hi Terry,

    Apologies for taking so long to get back to you, somehow your comment got filtered out as spam. Did you have any luck getting it working? I checked the link and there seem to be some options in the dropdowns now.

    If not, the only thing i could suggest is that the plugin attempts to only show categories which have published posts in them so on a new site with no posts it will give no options in the category/tags dropdowns.

    Let me know if this is still an issue,
    Thanks
    Don

  18. Michael Mette

    Hi Don,

    thanks for the wonderful plugin. I tried it on one of my sites and it worked quick and correct on all posts.

    Can I search pages as well? When I tried this I did not succeed. Can you help me?

    Greetings from Germany sends
    C. Michael Mette

  19. Redsoxmaniac

    Is there a way I can insert this widget into a theme? What code should I utilize to do that?

    Great plugin btw. It is getting popular everyday.

  20. Don

    Hi redsoxmaniac, yes if you follow method 2 from the quick start guide above this should give you some php code to copy into your theme.

  21. Alec

    Hi Don,

    Great plugin!

    I just have one question, how do I change the text color and style for the search category labels? For some reason it is not matching the rest of my site. I tried going into the php code to find it, but couldn’t figure out where it pulls the colors from. Can you please help.

    Thanks,
    Alec

  22. Hamed

    Hi, is it possible that the newest version of WordPress doesnt work with this plugin? I always get the following problem :

    http://www.orientteppich.ag/?search-class=DB_CustomSearch_Widget-db_customsearch_widget&widget_number=preset-default&cs-TeppichNr-0=12345&search=Search

    Results for ”

    What have you done now?!

    Sorry, your search did not return any results. Please try again!

    Thanks for any help.

  23. Pete

    Does anyone know if special characters ($) and commas (in custom fields) or special characters ($) in the widget “Drop Down Options” field will cause the form to not work? I am unable to get any posts to display when using the form.

    Any help you can provide would be greatly appreciated. Thank you!

  24. 2046

    Hello
    I have one small problem. I don’t know why but anytime I add new Preset and when I add it (php with the preset-x) to the page it renders only the submit button not more.

    The first default one is fine, but all new presets are like that.
    It even misses the html code and it’s functionality. All HTML in div searchform-params are gone. :(

    thx 2046

  25. 2046

    anather issue

    widget setup

    data type: Custom Field
    data field: all
    widget: text input
    compare: phrase in

    it’s workless, it cannot find anything. If I choose in the “data field” one of the existing “custom filed” it does though.
    (I thought the “all” parameter could be the problem, but in the case of categories works perfect, so i suggest it’s fine…btw what if the custom filed or category has a name “all” which is not my case? I suggest you to change it in to empty parameter, but it’s up to you indeed)

  26. Don

    Hamed, I’ve put together an alternative build of the plugin here: http://www.don-benjamin.co.uk/files/wp-custom-search-categories.zip , does this help at all?

  27. Don

    2046, The first issue may be the same reported by James on another post, I will look into this shortly, but apparently the example code doesn’t work unless you remove the preset- text so where the code example shows “preset-1″ you would use just “1″

    The all option is only implemented for post fields, it is a shorthand for specifying title, body, author, keywords etc. It was never intended to work for custom fields, although now that you mention it, this probably would be useful functionality, I will put this on my todo list.

    Thanks,
    Don

  28. Wordpress Custom Fields Search 0.3.13 — don-benjamin.co.uk

    [...] There is more complete (although slightly out of date) documentation for the plugin here [...]

  29. 2046

    thanks Don,
    How much work is to implement function “all” for custom fields?
    I can do what I want even with the setup as it is now, but…
    btw have you thought of the AND OR and other operators? If we collect the search widgets it always works as AND operator, Might be useful to have a operator between them ;)

    anyway thanks for the nice plugin, it saves us lot of time to do our things. You can be sure you’ll see few bugs on your PP soon.

    thx 2046
    (I’m sorry man, I have posted this text incidentally under the post above :( , please delete it , or do what ever you want.. )

  30. lex

    Hi, just a question as i’d love to use this plugin. Whatever I try, i keep getting: “Sorry, but you are looking for something that isn’t here.”
    (downloaded your plugin today)

    Last try was:
    data type – custom field
    data field – picked one from pre populated list
    widget – drop down
    compare – words in

    It does what it’s supposed to do I guess, I go to the frontend, pick one of the options in the widget, hit search, and get

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

    What can I do to make it work?

    The url it produces looks like this:
    http://www.mywebsite.com/wordpress/?search-class=DB_CustomSearch_Widget-db_customsearch_widget&widget_number=2&cs-Gepubliceerd_in-0=esta&search=Search

    Thanks!

  31. Jono

    Hi, This is a great plugin. Is there a facility to not take a menu into effect if nothing is selected. For Example.

    If I had ‘Select,Cottage,House,Farmhouse’ within the Drop Down options.

    (I have ‘Select’ first as that is displayed to prompt the visitor to select something.)
    If the post was completed correctly and say had ‘Cottage’ in the custom field, the plugin would obviously not display it.

    How can I set it to ignore a menu item if nothing is selected or if the term is Select as in my case.

    Thanks Jono

  32. Jono

    Also, Sorry I forgot to add.

    Is there a way to reset the form?

    Bug: I am using WordPress 2.8.3 and when including radio buttons lots of extra information and extra radio buttons are included.

    Like:
    1
    Category
    CustomFieldJoiner
    cat_value
    RadioButtonField
    EqualComparison

    I realise the plugin hasn’t been tested in 2.8.x versions but thought I’d mention it.
    The only other plugins installed ere Akismet and Maintenance Mode which I doubt would effect anything.

    Thanks Jono.

  33. yaz

    should i be able to filter the search by category using this plugin?
    when i select “category” from the datatype, i expected to see a list of my categories in the datafields but nothing comes up??
    Am i missing something? thanks!

  34. yaz

    Bar that last comment, have figured out i need to use widget config

  35. Ameise

    Hello.

    We were using version 0.3.10 with full joy.

    But now there is one problem. We now use sticky posts for a slideshow on frontpage. And since then the custom search shows the stickied posts before the search results. Even if they do not match the search phrase.

    Is there a chance to resolve this?

    Many thanks,
    j. alexander

  36. lark

    Hi Don.
    Thanks for a great plugin!
    It works perfect for posts, but could you please tell me how to search in static pages. I also have the custom fields there and I would like the plugin works for them.

  37. Gabrielle

    Hey Don,

    Thanks a lot for this great pluggin,

    But as say Ameise, how can you do to desappear stickied posts before the search results ?

    Many Thanks,

    Gabrielle

  38. Herry

    Hi Don,

    Thanks a lot for this beautiful plugin. (Donation:)

    Can u you share to me, how to show only parent category in the drop down list (hide all child category) .

    Hope will hear you soon. arusbeta[at]gmail.com

    Thanks Don,
    Hery

  39. robi

    Beautiful!
    Thank you.

  40. Steve

    This is an excellent plugin. Thanks.
    Im having a bit of trouble getting the results of the custom field search to appear in a specific search page (different from the default I need the default to still display posts from News Category which it does fine). I am searching posts in the DATRIX category using the custom fields Cost, Time, Goal. These results appear fine in the default search template but I want to force the results to datrix page (which has the search widget in the sidebar). Any help would be greatly appreciated.

  41. Ray

    Hi Don,

    In this comment that you made in April – http://www.don-benjamin.co.uk/projects/foss/wp-plugins/wp-custom-fields-search-03/#comment-540 – You mention the use of the “Dropdown Options” field to limit the categories in WP Custom Fields Search.

    I just tried using this feature, but when I put in a comma-separated list of category IDs, in the form, the category IDs are listed as options instead of the category names.

    Am I doing something wrong?

  42. Ray

    Okay, please excuse my ignorance!

    My answer can be found here:
    http://wordpress.org/extend/plugins/wp-custom-fields-search/other_notes/

    Too bad I have a ton of categories to label :(

  43. Thomas

    I need to modify this pluin so that I can submit multiple entries at once to the search. I am using the plugin for a real estate website. The current search form allows users to search for houses by selecting a single neighborhood from a dropdown menu. Instead of a dropdown menu, I would like to use a list of checkboxes so that the the user can search for houses in multiple neighborhoods at one time. I have converted all of the dropdown menu items into checkboxes on the HTML side but the PHP script only searches for houses in the last checkbox selected. For example, if I selected: ‘Dallas’ ‘Boston’ ‘New York’ the search engine will only search for houses in New York.

    Im not asking you to rewrite the plugin for me or anything (although doing so would make you my god and possibly move me to donate), but if you could just give me some quick pointers as to what I will need to modify to create this kind of functionality, I would really appreciate it. Thanks!

  44. fadzril m

    Hi Don,
    Firstly, thanks for this great plugins. I’ve one problem, how to show specific category list for dropdown menu? Looking forward to your answer. Thanks again

  45. Brian K

    Great plugin!

    How does one modify how the results are displayed? For example, i just want headlines/titles to be displayed not full posts or teasers.

    Thanks

  46. Donna Vitan

    Has anyone found a way to customize the search results?

  47. Sarah

    Hey Guys, Has anyone noticed that this won’t work in IE8. Just returns a ‘nothing found’ message. I’m using a simple text field and copied the code into my template. It works in IE7/FF but not IE8. Any ideas?

  48. QuickenWebsites

    Can any body tell where I can find a plugin to add more fields into post area?

  49. Stacey

    Hi,

    The form’s working great, thanks for such an easy implementation! The only problem I’m having is with a “browse by category” dropdown– I have special entities (nothing too special; an &) in some of my category names, which is being rendered in the dropdown as its iso-friendly “&”

    I tried adding accept-charset” into the tag in wp-custom-fields-search-form.php, but that doesn’t change anything. My template has the character set at utf-8, so there’s no problem there. And the category names render fine when elsewhere on the page. Any ideas?

  50. henry

    Chanel Vogue you will love it

  51. Elton Martins

    Please Help!

    The module don’t show all my custom fields when I’m creating a new form.

    How can I fix this?

    Thanks

  52. Elton Martins

    Sorry. It’s my fault.

  53. david

    my theme is not support widgets.
    How do by code I use this plugin?
    What code do I use the theme?

  54. meloniq

    RE: Ameise , RE: Gabrielle

    I had the same problem as You, with this sticky posts which appear in search results even if they do not match the search phrase…

    I wrote small solution on my blog if You still looking for it:

    http://blog.meloniq.net/2010/09/16/fix-wp-custom-fields-search-sticky-posts/

  55. pescadito

    Really a wonderful plugin!

    Just i a little css bug that i cannot reach to find: in the front page the wp-custom-field-search-widget include the first next widget inside the widget frame. i clip fixed this adding a blank text widget without title nor content and thats worked to me. I don’t explain why it didn’t reported before.

    Second nice feature to add (i only hard-coded it) is the option to specify custom post type to search in

    Thanks for your efforts, best regards, pescadito

  56. Melissa

    Hey Don,

    This is a great plugin that is very beneficial to the website that we are putting together. My only question is whether or not there is a way to make the results page only show links to pages. I’m using it to search for static pages and the results page shows the full content of each page in the results list.

    This would be quite troublesome if there were to be twenty different results that showed up at a visitor’s inquiry.

    Melissa

  57. ABCDiamond

    Is there a way to have the results sorted into alphabetical order ?

    I am using WordPress 2.9.2 and WordPress 3.0.1, (2 sites) and the plugin works, but not sure if it should be sorting or not.

  58. Nicolas

    Hello, How are you?
    Thanks for this plugin!
    How Can I change The Text that Says ANY in drop Down Menu?

    Thanks.

  59. goliv

    Can someone help me to make the “WP Custom Fields Search” working with “WPML Multilanguage” Plugin?

  60. Jason

    Hi there. Firstly, thanks for all your hard work!

    Is there a way to display the search results in a table? This would be fantastic!

    I”m sorry if this has already been asked, but I can’t find it anywhere.

    Thanks,
    Jason

  61. MACCoutinho

    Hello,

    I’m trying to translate your plug-in. So far I’ve found the “ANY” value on your code and replaced it with the appropriate value. Now I’m trying to change the text on the submit button but I’m having a harder time finding it. Maybe you should considering creating a separate options file to easily change those values or include options on the plug-in’s settings to change it there.

    Thank you!

    MACC

  62. mikou

    Hello and Thanks for this,

    What I would recommend to add, if it does not already have the feature, is the possibility to exclude some categories from any search presets or to tell it to search only one within cat, instead of entering categories as meta keys and values to go around it from a php beginner’s point of view.

    And also enable easy association of search templates with each search presets…

    cheers ;)

  63. mikou

    As per the categories inclusion/exclusion issue noted above, I found the way around it, most probably talked of elsewhere already.

    So, if you guys want your form preset to search into a specific category without having the category drop down:

    Data type: Category
    Widget: Hidden Constant
    Compare: Equals
    Constant Value: “the Name of the Category to search”

  64. nipo

    hi
    thanks for the great work it’s an amazing plugin which helped me a lot in moving from joomla to wordpress.

    i noticed one thing: when you set a static page as home page in your blog the plugin doesn’t seem to work anymore

    hopefully this could be fixed in some way

  65. Tractari Auto

    Great!
    Is there a way to add a checkbox-input?

    Thanks

  66. Eduardo dulce

    Congratulations Don.

    I have found a solution to make alphabetical search.
    You have to add this code:

    … inside the search.php of your current Theme.

    The position of the code is before “the loop”. I put here literally the code of my search.php:

    <?php
    if(have_posts()) { …

  67. Eduardo dulce

    —?php query_posts(‘orderby=title&order=ASC’); ?—

    The web cant show code. I write with out the sign of open php and close

  68. Tractari

    http://www.etractari.ro —?php query_posts(’orderby=title&order=ASC’); ?—

    try here dont work

  69. Pete

    I am wondering if there is a way to when someone selects a country that is I can program it to then have a sub category automatically populate the states within that country. Or if someone selects a state, that it then automatically populates the next search drop down to show the cities within that state or area. Is there a way to do that?

  70. gaurav

    hi there

    plugin is great… I am using plugin to search bedrooms, bathrooms and sleeps for a property website, but when bedrooms is less then or equal to 3 the form is not working… please help me out…

  71. Wes

    Just figured out how to get custom post types working:

    http://wordpress.org/support/topic/plugin-wp-custom-fields-search-not-searching-custom-post-types

    But now, I have the issue of how the plugin handles boolean searches. I need it to do a search using the “OR” operator instead of “AND.” The problem is, in order to get any results, there has to be an exact combination of radios and dropdowns selected instead of just displaying all results that contain any of the selected items.

    How can I modify the plugin to support this?

  72. pescadito

    WP Custom Fields Search is a fantastic plugin, we need to keep it alive!

    but because https://wordpress.org/support/topic/plugin-wp-custom-fields-search-not-searching-custom-post-types?replies=8 was closed,

    i add my quater here:

    for WP Custom Fields Search work with custom post type, you need add this plugins:

    ——————————————————–
    best regards,
    pescadito

  73. pescadito

    i think this plugin is un-supported and all fork to add some feature (as ‘OR’ conditional or another) will be welcomed.

    please if you do, leave a link here

  74. pescadito

    something was wrong when i submit comment number 80,
    please refer to

    - https://wordpress.org/support/topic/wp-custom-fields-search-not-searching-custom-post-types?replies=1

  75. strangerrj

    Hi Don, thanks for the Plugin. This ist super perfect for me an my site.

    Thanks Greetings Rick

  76. m1234

    Hi,
    I am getting a problem with custom field search.
    only one result getting every time .tried with every mode of search like Custom post type tile, custom field ..any help for this..?

  77. Paulo Ricardo Cardoso

    Hi I use custom fields search plugin, it helps me a lot.

    I have a problem is the following, I have a category field that was created by the plugin Advanced custom field, and I want to use this field to search posts, I created a lookup field through the plugin custom search field, select it to type as the data type: custom field and the date field the field that corresponds to my categories, so far all right, the problem is that the site in the search field shows the id of the categories instead of showing the name of the category.

    I hope to answer, thank you very much.

  78. Thian

    Hi there, could you please explain how I could put the label, in the field;

    ie. Search in the field, then when user clicks on it disappears.

    Thanks in Advance :-)

  79. ABCDiamond

    This is on the main WP Plug in site:

    This will probably be the last version of this plugin that I release, it’s not been financially viable to develop the plugin in this way and as such I have not been able to provide the level of support that I would like to. Apologies to everyone who’s emails / forum posts etc that I haven’t answered. In the near future I will be significantly reworking the plugin and re-releasing it either as a paid for plugin or free with a premium version, hopefully this should fund the time I need to put in to support and develop the project.

    However, it also shows this:

    Compatible up to: 3.5.2
    Last Updated: 2013-6-27
    Downloads: 49,815

    It does look like it has been taken over by another plugin developer at: webhammer.co.uk

  80. don

    Hi, that’s also me at webhammer.co.uk, I’ve released a few bug-fix versions since I put that note up but the plan is still to rebuild from scratch and relaunch in a different format, probably with a free version and then premium functionality available to those who can pay for it. Thanks, Don

  81. realmag777

    Good plugin to search by meta fields and taxonomies with built-in meta fields constructor http://codecanyon.net/item/wordpress-meta-data-filter/7002700?ref=realmag777

  82. GamingCast unlock telecharger

    You’ve made some really good points there.
    I checked on the net to learn more about the issue and found most people will go along with
    your views on this website.

  83. 4oliveus.com

    magnificent publish, very informative. I wonder why the opposite experts of this sector do not understand this.
    You must continue your writing. I’m confident, you’ve a great
    readers’ base already!

  84. to

    Wonderful article! This is the kind of info that
    are supposed to be shared around the net. Shame on the seek
    engines for not positioning this publish higher!
    Come on over and discuss with my web site . Thanks =)

  85. domain

    It’s an awesome paragraph in support of all the
    internet people; they will obtain benefit from it
    I am sure.


Leave a Reply



*

Back to top