Add Placeholder text in search filter

[ad_1]

flywheel access:

user: flywheel

p/w: shy-season

Hi Tobias,

I have tried following your instructions to adding placeholder text to the search field and it doesn’t seem to work. Not sure if I understood your instructions from previous posts properly. This is what i did:

  1. installed and activated https://tablepress.org/extensions/change-datatables-strings/
  2. opened the lang.en-US.json files and underneath the “search”: line item i added: “searchPlaceholder”: “testing”,
  3. re-installed the plugin with updated json file update
  4. edited the .php file in “tablepress/i18n/datatables/” folder with ‘searchPlaceholder’=> ‘testing’ underneath ‘search’ => ‘Search:’,
  5. reinstalled plugin
  6. updated the shortcode to [table id=1 datatables_locale=en_US /]

you mentioned in your article to “To use this Extension, just install and activate it like a regular WordPress plugin. Then copy the “lang-xy_XY.json” file of your language from the “tablepress/i18n/datatables/” folder to the “tablepress-change-datatables-strings” folder. (The “en_US” file is already in that folder, as an example.) – however there was no .json file in “tablepress/i18n/datatables/” , only .php files

If you could please shine some light on this for me that would be much appreciated.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer