Customise the search box placeholder text for the Avada theme.
Author: | caught my eye (profile at wordpress.org) |
WordPress version required: | 5.3.2 |
WordPress version tested: | 6.1.1 |
Plugin version: | 2.0.0 |
Added to WordPress repository: | 16-04-2020 |
Last updated: | 18-12-2022 |
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | https://github.com/marklchaves/search-placeho... |
Total downloads: | 2 643 |
Active installs: | 200+ |
Click to start download |
Customise your search placeholder text!
Search Placeholder Avada allows you to add your own custom placeholder text for Avada’s search input box.
There’s new support for all themes.
Usage
Originally built for Avada by ThemeFusion, you can now use this on any theme.
With version 2.0, there’s built-in support for Avada and WordPress default themes. You can also use a PHP hook (filter) to add any CSS selector you need.
The plugin settings are under Settings > Search Placeholder Avada.
Example Filter for Supporting Any Theme
/** Search Placeholder Avada: filter for your own CSS selectors. Separate selectors with a comma. */
add_filter( 'search_placeholder_css_selectors', function() {
return ".this-is-a-test-class, #this-is-a-test-id, .another-class";
}
);
Tweak the filter for your needs. Then, add it to your child theme’s functions.php
file or use a code snippets plugin that supports adding PHP hooks.
Disclaimer
The Search Placeholder Avada plugin and its author are not affiliated with Avada or ThemeFusion in any way.
Screenshots
FAQ
ChangeLog