이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Search Placeholder Avada

설명

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.

스크린샷

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

설치

  1. Upload the contents of the plugin zip file to the /wp-content/plugins/search-placeholder-avada directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ page in WordPress.

FAQ

Will this plugin work for other themes?

Yes!

Version 2.0.0 has built-in support for Avada and WordPress default themes.

It also has new PHP filter hook for you to add any CSS selectors. That means Search Placeholder Avada can work for any theme 🙂

후기

2020년 4월 22일 1 reply
Hi. Installed it today and it is the smallest and easiest plug in I have. Thank You!
모든 1 평가 읽기

기여자 & 개발자

“Search Placeholder Avada”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Search Placeholder Avada”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

2.0.0

  • Added built-in support for WordPress’ Twenty Twenty themes.
  • Added filter for custom CSS selectors for any search input field.

1.1.0

  • Added code to delete placeholder option from the DB on plugin uninstall.
  • Tested on WordPress 5.5 and Avada 7.0.2.

1.0.0

  • First release. Tested on Avada 6.2.1 and 6.2.2.