
---
title: "Thesis SearchBox Tip — How To Manually Add The Thesis Search Box"
date: 2011-04-28
author: "Rachael Kurt"
featured_image: "https://www.converticacommerce.com/wp-content/uploads/2013/12/wordpress12.png"
categories:
  - name: "Support & Maintenance"
    url: "/category/support-maintenance.md"
tags:
  - name: "Code Snippets"
    url: "/tag/code.md"
  - name: "Thesis WordPress Theme Framework"
    url: "/tag/thesis-wordpress-theme-framework.md"
---

# Thesis SearchBox Tip — How To Manually Add The Thesis Search Box

![](https://www.converticacommerce.com/wp-content/uploads/2010/12/wordpress1.png)Thesis WordPress Theme simplifies the task of placing the widgets to widgetized areas like sidebars. It is a matter of simply dragging and dropping the widget to the required location. The problem arises when you need to place the widgets to your preferred location in the theme template; like in the header or the footer. Adding the widget in header or footer area calls for widgetizing the respective areas. And if you don’t like to go that way here’s what to do.

The custom\_functions.php file comes in handy for manually adding the widgets to desired location. Here’s the solution for manually adding the Thesis search box by [editing custom\_functions.php](https://www.converticacommerce.com/?p=5511). The essential piece of the code is thesis\_widget\_search(); which outputs the search box. To put it in the sidebar you can enclose it in the &lt;li&gt; tag like following.

Add the following lines of code to custom\_functions.php:

```
?> <li class="widget">
<?php
thesis_widget_search();
?>
</li> <?php
```

Check out the article on [WordPress hacks](https://www.converticacommerce.com/?p=5666) to customize your WordPress themes and power up the features of your blog with functions.php.

```
thesis_widget_search();
```