Title: Shortcode for search
Last modified: August 21, 2026

---

# Shortcode for search

 *  [torralaq](https://wordpress.org/support/users/torralaq/)
 * (@torralaq)
 * [2 weeks, 3 days ago](https://wordpress.org/support/topic/shortcode-for-search-3/)
 * Can I please just get a short code for a search bar. I do not use Gutenberg or
   Elementor.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Md Akram Hossain](https://wordpress.org/support/users/akramhossain/)
 * (@akramhossain)
 * [2 weeks, 3 days ago](https://wordpress.org/support/topic/shortcode-for-search-3/#post-18999782)
 * Hi [@torralaq](https://wordpress.org/support/users/torralaq/) ,
 * Thanks for reaching out!
 * Unfortunately, EazyDocs does **not currently have a standalone `[shortcode]` 
   for the search bar**. The search/banner widget is only available as a **Gutenberg
   block** or **Elementor widget** at this time. This is a known gap we appreciate
   you raising.
 * That said, here are a couple of workarounds you can use right now:
 * **Option 1 — Use the `[eazydocs]` shortcode (includes search on the docs archive)**
   
   If you place the main docs shortcode on any page:
 *     ```wp-block-code
       [eazydocs]
       ```
   
 * The search banner will appear as part of the standard docs layout (depending 
   on your theme/template settings). This is the quickest path if you just need 
   search alongside your doc grid.
 * **Option 2 — Use a Classic Widget or Custom HTML block**
   If you’re using a classic
   theme with widget areas, you can add a **Custom HTML widget** anywhere in your
   sidebar/header with a basic WordPress search form filtered to docs:
 *     ```wp-block-code
       <form role="search" method="get" action="<?php echo home_url('/'); ?>">
         <input type="search" placeholder="Search docs..." name="s" />
         <input type="hidden" name="post_type" value="docs" />
         <button type="submit">Search</button>
       </form>
       ```
   
 * _(This works even without Gutenberg or Elementor.)_
 * **What’s coming:**
   A dedicated `[ezd_search]` shortcode is something we’d love
   to add. I’ve noted your request and passed it along to the development team as
   a feature request – it’s a reasonable ask and I expect it’ll get prioritized 
   given how commonly it comes up.
 * In the meantime, if Option 2 doesn’t quite fit your setup, please let us know
   a bit more about where you’d like to place the search bar and we’ll do our best
   to help you get there.
 * Thanks for using EazyDocs!

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-for-search-3%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/eazydocs/assets/icon-128x128.png?rev=3510212)
 * [EazyDocs - AI Powered Knowledge Base, Wiki, Documentation & FAQ Builder](https://wordpress.org/plugins/eazydocs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eazydocs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eazydocs/)
 * [Active Topics](https://wordpress.org/support/plugin/eazydocs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eazydocs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eazydocs/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Md Akram Hossain](https://wordpress.org/support/users/akramhossain/)
 * Last activity: [2 weeks, 3 days ago](https://wordpress.org/support/topic/shortcode-for-search-3/#post-18999782)
 * Status: not resolved