Back to school sale! Save up to 50%
Grab Yours

Global page search shortcode

Instructions how to use global page shortcode

Global table search option with one filter field on the page:

[wpdatatables_page_search placeholder="Search all tables" use_button="1" button_placeholder="Search button" use_global_search_only="1"]

where:

  • placeholder – placeholder for input field
  • use_button – whether you want to use the search button
  • button_placeholder – the name of the button
  • use_global_search_only – if you want to turn off the global search of the table itself but that it can be searched through this field
  • class – if you want to add a class to the input field
  • button_class – if you want to add a class to the search button

 

example:

[wpdatatables_page_search placeholder="Search all tables" use_button="1" button_placeholder="Search button" use_global_search_only="1" class ="placeholder-class" button_class="button-placeholder-class"]

You can also use only the shortcode like this:

[wpdatatables_page_search]

Then by default it will be the “Search All Tables” placeholder, without search button.

or : [wpdatatables_page_search use_button="1"]

Then by default it will be the “Search All Tables” placeholder, and deafult button placeholder will be “Search”.
If you don’t use a search button class, the default button layout from the theme you’re using will be applied.  

If you want to use the appearance of our button, add the class wpdt-custom-button.
[wpdatatables_page_search use_button="1" button_class="wpdt-custom-button"]

search button image with class

DatatablesUsing global page search cell shortcode for datatables

Search table

BUT FIRST!

Subscribe to our Newsletter

Be the first to learn about updates and new features. Once you have provided your email address, the download will commence shortly


By continuing, I accept Privacy Policy and T&C
Mail Box