# Shortcode as a menu item

It is possible to use the [search box shortcode](https://documentation.ajaxsearchlite.com/search-shortcode) 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.

![](http://i.imgur.com/QqCp0qu.png)

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.

![](https://3760515715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOpzRddcYVNgkLN4M3d%2Fuploads%2FBo0jqD2ioVjO7GDJuRjx%2Fimage.png?alt=media\&token=0b748baf-97ef-4f04-82c2-9b267d4255de)

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

![](https://3760515715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOpzRddcYVNgkLN4M3d%2Fuploads%2F2ztd9Sw4PVvXO0xBf4UV%2Fimage.png?alt=media\&token=dbc141f1-a9b4-4764-93e4-63872d51f678)

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