🎨
Documentation - Ajax Search Lite
Get the PRO version!Download the Lite version for FreeDevelopment
  • Ajax Search Lite for WordPress documentation
  • Search Shortcode
    • Shortcode as a menu item
  • General Options
    • Sources and Basics
    • Search logic
      • Search logics explained
    • Triggers and redirection to results page
    • Results page live loader
    • Ordering
    • Autocomplete & Keyword Suggestions
  • Image Settings
  • Frontend search filters
  • Layout Options
    • Theme and Customization
    • Results layout and fields shown
    • Results box behavior
    • Keyword highlighter
  • Advanced Options
    • Title and Content fields
    • Advanced Title and Content fields
    • Keyword Exceptions
  • Compatibility Settings
    • Javascript Compatibility
Powered by GitBook
On this page

Was this helpful?

  1. Search Shortcode

Shortcode as a menu item

The search shortcode can be used as a menu element

PreviousSearch ShortcodeNextGeneral Options

Last updated 3 years ago

Was this helpful?

It is possible to use the in a menu as the title field. The menu item will be automatically replaced with the search bar. This simple guide will help you achieve that.

1) Under the Appearence -> Menus submenu open up (or create) the menu you want to edit.

2) Click on the Custom Links item and as the URL enter anything (I used the '#' character in this example), and as the Link Text paste the search shortcode, then click the Add to Menu button.

3) That's it. The menu item is created, now you can move it like any other one.

4) Make sure to save the menu, and the search should appear as a menu item on the front-end.

search box shortcode