跳到内容

Search Placeholder Avada

v2.0.0

mark l chaves · 2020年4月16日 上架

Customise the search box placeholder text for the Avada theme.

正在使用
100+
评分
5.0 / 5
累计下载
3,954
最近更新
2022年12月18日
1 条评价需要 WordPress 5.3.2+已测试到 6.1.17PHP 7.2.18+

贡献者

截图

Create your custom search placeholder.
Create your custom search placeholder.
You set the placeholder once and it displays in every search box.
You set the placeholder once and it displays in every search box.
Custom search placeholder text closeup.
Custom search placeholder text closeup.
Navigate to Settings > Search Placeholder Avada.
Navigate to Settings > Search Placeholder Avada.
Plugin option settings page.
Plugin option settings page.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums