Prelude Part 1: Setting Up Part 2: Set the Bare BonesPart 3: The HeaderPart 4: The Main Menu In this post I will discuss how to complete the rest of the header elements in my blog theme. First up: the searchbar. In WordPress, adding a searchbar is relatively simple. All you need to do is insert the line <?php get_search_form(); ?> into wherever you want the searchbar to be. So in this case, since I want the searchbar to be included in the header section, I opened up the header.php file and created a new div called "searchbar" like so: <div id="searchbar"> <?php get_search_form(); ?> </div> I just added that to the very end of the header.php file, then saved. Here is what I ended up...
Continue reading