Home » Documentation » Site Search » Adding Search to Your Site » How to Use the Site Search Shortcode

How to Use the Site Search Shortcode

The [elevated_site_search] shortcode renders the instant search box anywhere WordPress renders shortcodes: pages, posts, block widgets, and page builders. It takes no attributes; every box on your site follows the settings under Elevated › Site Search › Settings. An active license is required for the box to render.

Table of Contents

Step 1: Add the Shortcode

Edit the page or post where the search box should live.

Add a Shortcode block and paste [elevated_site_search]. In a classic editor or a text widget, paste the shortcode directly into the content.

Step 2: Publish and Test

Publish, then open the page. The search box renders where the shortcode sits, up to 600px wide by default, and starts returning results after three typed characters.

A page rendering the Elevated Site Search box from the shortcode

Where the Shortcode Works

  • Pages and posts. Use the Shortcode block in the block editor, or paste it directly in the classic editor.
  • Widgets. Paste it into a Shortcode or Text widget to put search in a sidebar or footer.
  • Page builders. Any builder that renders shortcodes works. Breakdance users get a native element instead; see Adding Site Search to Breakdance.
  • More than one box. You can place several boxes on the same page; each opens the same search.

The shortcode has no options of its own. Layout, theme, colors, and behavior all come from the plugin settings, so every box stays consistent site-wide.

Troubleshooting

Administrators see “License is not active” where the box should be. Activate your license under Elevated › Site Search › License. Visitors see nothing at all until the license is active.

The shortcode text shows on the page instead of a search box. The content area is not rendering shortcodes. Use the Shortcode block instead of a plain paragraph, or your builder’s shortcode element.

On this page
Want More?

Get Every Elevated Extension You’ll Ever Need—One Payment, Yours for Life

Build faster, smarter, and without limits. A single purchase unlocks our entire library today and every new extension we release in the future. No renewals, no upsells, just lifetime power at your fingertips
+All other extensions for unlimited sites

The All Access Pass, available for a limited time

This exclusive package won't be around forever, as we will eventually move to a subscription model. This is your chance to get in early.
  • All Current Extensions
  • All Future Extensions
  • No Renewal Fees
  • 90-Day Money-Back Guarantee