Support » Plugin: Ajax Search Lite » Search Custom Field between 1 to 99 only & Nothing else

  • Hi
    Is it possible with this plugin just to search numbers 1 to 99 and if I enter 1 only, it will give me the page that represents the number 1?

    I have set the Graves up using a Custom Post Type (grave) and some Custom Fields, one being the Grave Number (grave_number).

    The website I am developing has Graves 1 to 99 so when I enter 20 for Grave 20 it gives me Grave 20 but if I want grave 1 I don’t get grave 1 on it’s own. It searches for anything that has a 1 in it.

    The website has a downloadable map and a document that lists the names and the grave inscriptions so if someone wanted say Grave 53 they would just enter it and display the result’s on a page.

    What needs to be changed so that I can use this plugin to do what I want.

    Kind regards


Viewing 1 replies (of 1 total)
  • Plugin Author wpdreams


    Hi Colin,

    Well, it might be possible, by changing the keyword logic to “AND with exact keyword matches”:
    I am not a 100% sure that this logic does apply to custom fields, but if so, then it should work.

    Ernest M.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.