Posted By

kristarella on 03/21/10


wordpress wp thesis thesiswp

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Add search bar to Thesis nav

 / Published in: PHP


Add the PHP to custom_functions.php and the following CSS to custom.css

.custom {float:right;} .custom form {padding:0.3em;} .custom form input {padding:0.4em;}

  1. function add_search_nav() {
  2. ?>
  3. <li class="search"><?php thesis_search_form(); ?></li>
  4. <?php
  5. }
  6. add_action('thesis_hook_last_nav_item','add_search_nav');

Report this snippet  

You need to login to post a comment.