這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Shortcode Search | WordPress Search Bar Shortcode Plugin

描述

Shortcode Search is a simple plugin that lets users add a search bar anywhere on their WordPress website using the shortcode [search].

With this plugin, you can easily insert a search form with customizable placeholder text and button label. The plugin automatically renders a user-friendly search form where users can type in their search queries.

Usage

To display the search form, simply use the [search] shortcode. You can also customize the placeholder text and button label by passing attributes.

Example:
`[search placeholder=”Search for something…” button_text=”Go”]“`

This will display the search form with “Search for something…” as the placeholder text and “Go” as the button text.

Credits

  • Developed by kulwantagarwal.
  • WordPress core for plugin framework.

License

This plugin is licensed under the GPL-2.0+ license.

安裝

  1. Upload the shortcode-search folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use the shortcode [search] in any post, page, or widget area to display the search form.

常見問題

How do I use the plugin?

Simply add the shortcode [search] wherever you want the search bar to appear. You can also customize the placeholder text and button label using the attributes placeholder and button_text.

Can I style the search form?

Yes! The plugin includes basic styles, but you can easily customize the appearance by modifying the CSS or overriding it in your theme’s custom styles.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Shortcode Search | WordPress Search Bar Shortcode Plugin” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.1 | Feb 13, 2025

  • FIxes minor issues with shortcode.

1.0 | Feb 13, 2025

  • Initial release.
  • Added [search] shortcode to display a search bar anywhere on the site.
  • Customizable placeholder and button text.