Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter psheld

    (@psheld)

    Ah, it seems the theme already has a searchform.php. Super.

    So used the WordPress theme editor (Appearance _ Editor) to edit the theme’s header.php file.

    Immediately after

    <div class="site-branding">

    Inserted

    <?php get_search_form(); ?>

    Scott, I added this code to my sidebar at benpasley.com, but the search function doesn’t work at all. My browser actually crashed when trying to use it, crazy. I must be doing something terrible. I tried it in the exact location as noted above as well, and neither work. Thanks for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add search bar’ is closed to new replies.