| 开发者 |
narinder-singh
satindersingh coolplugins |
|---|---|
| 更新时间 | 2026年2月21日 15:44 |
| 捐献地址: | 去捐款 |
| PHP版本: | 5.6 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[events-calendar-search placeholder="Search Events" show-events="5" disable-past-events="false" layout="medium" content-type="advance"]5).true to show only upcoming events.small, medium, or large.basic – Shows only event title
advance – Shows event title, date, and extra details[events-calendar-search]
You can also customize the search box using shortcode attributes such as placeholder text, layout size, number of results, and upcoming events filter.
[events-calendar-search placeholder="Search Upcoming Events" show-events="6" disable-past-events="true" layout="large" content-type="advance"]
Step 4: Publish and Test
After installing and activating the plugin, simply paste this basic shortcode into any page:
[events-calendar-search]
If you want more control, you can use the full shortcode with attributes:
[events-calendar-search placeholder="Search Events" show-events="5" disable-past-events="false" layout="medium" content-type="advance"]
You can control the search box using these shortcode attributes:
placeholder – Change the default text inside the search input field.show-events – Set how many results appear in the dropdown (example: 5).disable-past-events – Set to true to hide past events.layout – Choose search box size: small, medium, or large.content-type – Choose result style:basic – Shows only event titleadvance – Shows event title, date, and extra detailsYes. Use the attribute disable-past-events="true" inside the shortcode. This ensures that only upcoming events appear in the search dropdown.
The plugin uses AJAX technology to show live results while users type. This means the page does not reload, and matching events appear instantly in a dropdown below the search box.
No. The plugin is lightweight and optimized for performance. It loads only the necessary scripts required for the search functionality and does not impact overall website speed.
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage, and handle any security vulnerabilities. Report a security vulnerability.
content-type attribute for basic and advance suggestions.