• Hi, we are building an event portal and need results to be imported via a .csv and sql file.
    Results need to be displayed via a custom search option.
    Something like the image.

    Is there a wordpress plugin which can do it?

    I know tablepress, but I dont want to display results of all the people, only the results of the person who knows his given id.

    We need something like this basically:
    https://s27.postimg.org/tca9jbuw3/plugin_search.png

Viewing 2 replies - 1 through 2 (of 2 total)
  • [table id=TABLE_ID filter=keyword table_head=false filter='ID_OF_THE_USER' ]

    You could still use tablepress by filtering.

    only the results of the person who knows his given id.

    If you could explain the flow process a bit more, then I would be able to help you as I had done a similar solution some time back.

    Looking at the screenshot, it appears that a user should be able to search by entering his Bib#.

    So you have 2 options here:
    1. PHP Solution
    2. JS solution

    PHP Solution This would be to have the searchform on one page and the action to another page.
    Lets say TABLE_ID is the table id of the TablePress table containing the imported records, Page_F has the form and Page_R has the results.

    Now in Page_R, you will have access to the bib# field through the virtue of being passed as $GET (or $POST) parameter. So you write custom PHP code like this:

    $user_id = $GET['bib_number']
    do_shortcode('[table id=TABLE_ID filter=keyword table_head=false  filter="' . $user_id . '"]');

    2. The JS Solution: It would involve installing the Datatable filter extension for TablePres here

    Also look at this thread for more insights to a similar problem

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Search Plugin’ is closed to new replies.