Built for Avada by ThemeFusion
Search Placeholder Avada allows you to add your own custom placeholder text for Avada’s search input box.
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.
The Search Placeholder Avada plugin and its author are not affiliated with Avada or ThemeFusion in any way.
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.