Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter quadbox

    (@quadbox)

    For example:
    http://supsystic.com/table-with-pagination-and-highlighting-example/

    Searching ‘Junior Technical Author’ through the native search:
    http://supsystic.com/?s=Junior+Technical+Author

    Leads to no results, instead of showing links to the example pages which contain ‘Junior Technical Author’ on their tables.

    Plugin Author supsystic

    (@supsysticcom)

    Hello!
    We can make such improvement for you – an ability to monitor the presence of a particular get parameter in the search line (in the browser). and on the page you would need to add searching form with the title of searching field “our get parameter”, with sending method “get” and the address “page with our table”.
    In addition you would need to switch on search function in your table and in this case our table would be filtered with the results of searching as you wish.

    Does this variant suit you?

    Plugin Author supsystic

    (@supsysticcom)

    Unfortunately we cannot implement the native WordPress search with our Data Table plugin. We can offer you only the solution which is described above.

    Thread Starter quadbox

    (@quadbox)

    I meant adding an option to the plugin (check box) or suggesting code addition (to be used in functions.php) for using a filter/hook to modify the native search results by joining the supsystic custom tables of the plugin.

    As i understand it can be achieved by using posts_join / posts_where / posts_groupby Plugin API/Filters as suggested here:
    https://codex.wordpress.org/Custom_Queries#Keyword_Search_in_Plugin_Table

    Another thing to mind is when search founds the keyword in one of the data tables, how to display this search result, because data tables aren’t posts, they are only shortcodes which displayed on posts/pages, so for displaying the link to pages contains this desired data table you somehow need to keep track on which posts/pages this data table appears.
    a headache.

    Plugin Author supsystic

    (@supsysticcom)

    Hi!
    Thanks for the clarification. We will improve our data table plugin – to make table’s content searchable through the Native WordPress search. It will be done in on of next versions of plugin. I will inform you about the update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to make table's content searchable through the Native WordPress search’ is closed to new replies.