Title: Shortcode
Last modified: March 31, 2025

---

# Shortcode

 *  [piotrlukanko](https://wordpress.org/support/users/piotrlukanko/)
 * (@piotrlukanko)
 * [1 year ago](https://wordpress.org/support/topic/shortcode-1010/)
 * Is there a way to insert search block using shortcode?
 * Haven’t found any information about it in documentation and guides.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [ponopress](https://wordpress.org/support/users/ponopress/)
 * (@ponopress)
 * [1 year ago](https://wordpress.org/support/topic/shortcode-1010/#post-18398072)
 * Hello [@piotrlukanko](https://wordpress.org/support/users/piotrlukanko/) ,
 * Thank you for your patience with our delayed response. Apologies for the late
   reply—our hosting had expired, preventing the support email from coming through.
 * Regarding the shortcode, the plugin currently does not provide one, as we designed
   it to be fully compatible with the Site Editor/Gutenberg.
 * If you’re looking to implement it via code, you can use the `[do_blocks](https://developer.wordpress.org/reference/functions/do_blocks/)`
   function like this:
 *     ```wp-block-code
       echo do_blocks('<!-- wp:yuto/meilisearch {"enabledIndices":["page"]} -->'); 
       ```
   
 * However, if you really need a shortcode, you can create a custom one to render
   the block. Add the following [gist code](https://gist.github.com/ponopress/b403014d004ab0990d44d763a5595971)
   to your plugin or child theme’s `functions.php`, and then use the `[yuto_autocomplete_block]`
   shortcode.
 * [https://gist.github.com/ponopress/b403014d004ab0990d44d763a5595971](https://gist.github.com/ponopress/b403014d004ab0990d44d763a5595971)
 * Please let us know if this solution works for you. If not, share more details
   on how you’re trying to implement it, and we’d be happy to assist further. Additionally,
   if we receive more support requests for this, we will consider adding it to the
   main plugin in a future update.
 * Regards,
   Pono Press
    -  This reply was modified 1 year ago by [ponopress](https://wordpress.org/support/users/ponopress/).
 *  [alfredo11](https://wordpress.org/support/users/alfredo11/)
 * (@alfredo11)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/shortcode-1010/#post-18435665)
 * Hi
   That didn’t work for us, is there any other way to implement a search box?
   Regards
 *  Plugin Author [ponopress](https://wordpress.org/support/users/ponopress/)
 * (@ponopress)
 * [10 months, 4 weeks ago](https://wordpress.org/support/topic/shortcode-1010/#post-18463710)
 * Hello [@alfredo11](https://wordpress.org/support/users/alfredo11/) ,
 * Thank you for your patience regarding our delayed response.
 * We do offer an Autocomplete Search block that can be easily inserted through 
   the Block Editor. Could you please clarify your question? Are you referring to
   using it within your own code, or are you working with the Classic Editor?
 * Your clarification will help us better assist you.
 * Regards,
   Pono Press
 *  Plugin Author [ponopress](https://wordpress.org/support/users/ponopress/)
 * (@ponopress)
 * [10 months ago](https://wordpress.org/support/topic/shortcode-1010/#post-18504214)
 * Hello [@piotrlukanko](https://wordpress.org/support/users/piotrlukanko/) and 
   [@alfredo11](https://wordpress.org/support/users/alfredo11/)
 * We’re excited to announce that **shortcode support** is now available in **version
   0.1.1**! You can easily display the **Autocomplete search** anywhere on your 
   site using the `[yuto_autocomplete]` shortcode.
 * For a full overview of available options and usage examples, please refer to 
   our [**Shortcode Documentation**.](https://ponopress.com/guides/yuto/#shortcode)
 * _**Note:** The previously shared gist has been removed, as this feature is now
   fully integrated into the plugin._
 * Regards,
   Pono Press

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/yuto/assets/icon-256x256.png?rev=3137522)
 * [Yuto - Meilisearch Integrator](https://wordpress.org/plugins/yuto/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yuto/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yuto/)
 * [Active Topics](https://wordpress.org/support/plugin/yuto/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yuto/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yuto/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 4 replies
 * 3 participants
 * Last reply from: [ponopress](https://wordpress.org/support/users/ponopress/)
 * Last activity: [10 months ago](https://wordpress.org/support/topic/shortcode-1010/#post-18504214)
 * Status: not resolved