Viewing 1 replies (of 1 total)
  • Plugin Author Md Akram Hossain

    (@akramhossain)

    Hi @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:

    [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:

    <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 to reply to this topic.