


The Global Page Search Shortcode is a tool that helps you search through all wpDataTables on a page at once.
Instead of searching inside just one table, you can enter a keyword in a search box, and it will find results across multiple tables displayed on the same page.
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:
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"
]
To get your hands on wpDataTables Lite, please enter your email address below. We’ll send you a direct download link and keep you updated on existing features along with helpful tips and tricks!