Title: Extra Header Area?
Last modified: August 21, 2016

---

# Extra Header Area?

 *  Resolved [crazygoingslowlyami](https://wordpress.org/support/users/crazygoingslowlyami/)
 * (@crazygoingslowlyami)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/)
 * I’m using skeleton theme 1.6. I know there is a new version out,but it doesn’t
   seem to solve the below issue (and it seems to get rid of my shaded boxes that
   I prefer in the older version).
 * The Issue:
    I have poured all through the skeleton files, and I can’t for the
   life of me figure out how to get some actual code in the extras area of the header.
   I’d LIKE to put a google search bar there, but the Extra Header Text area strips
   out the code. I can’t seem to find where to try and hard code it into any of 
   the files, either.
 *  I can put text all around my logo, but I can’t seem to get this search box to
   appear to the right of the logo. Please help? Its driving me insane, lol. Anyone?
   Sadly, this seems a lot easier of a task in other themes. Once again I’m using
   the skeleton theme, version 1.6

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Noel Tock](https://wordpress.org/support/users/noel_tock/)
 * (@noel_tock)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/#post-4662471)
 * I’m not familiar with the Skeleton theme, but it seems as if you’re trying to
   use an interface to add the code as opposed to actually modifying the `header.
   php` file?
 *  Theme Author [simplethemes](https://wordpress.org/support/users/simplethemes/)
 * (@simplethemes)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/#post-4662598)
 * It could be the WP sanitization is stripping out the javascript.
 * If you could post your a.) parent theme functions.php as a snippet to [pastebin.com](http://pastebin.com/)(
   or similar) and b.) the code you’re wanting to insert, I may be able to provide
   you with the action hook so that you can insert this a little more reliably.
 *  Thread Starter [crazygoingslowlyami](https://wordpress.org/support/users/crazygoingslowlyami/)
 * (@crazygoingslowlyami)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/#post-4662613)
 * Thanks so much for the replies.
 * [@noel](https://wordpress.org/support/users/noel/) yes, that is correct. The 
   theme has an interface in the admin area that allows “extras”, however its not
   working as I’d hoped. I’ve actually tried both that and the header.php file, 
   but I can’t seem to get it to work properly.
 * [@simplethemes](https://wordpress.org/support/users/simplethemes/) That’d be 
   fantastic! Here’s what you asked for:
 * functions.php contents:
    [http://pastebin.com/WvDG3zrL](http://pastebin.com/WvDG3zrL)
 * Code I want to insert:
    [http://pastebin.com/P8vZCZtS](http://pastebin.com/P8vZCZtS)
 *  Theme Author [simplethemes](https://wordpress.org/support/users/simplethemes/)
 * (@simplethemes)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/#post-4662689)
 * Can you try placing this at the end of your functions.php file:
    [http://pastebin.com/raw.php?i=PYgzYBWr](http://pastebin.com/raw.php?i=PYgzYBWr)
 *     ```
       function st_header_extras() {
       	$extras = '<div class="alignright"><form action="http://www.google.com" id="cse-search-box">';
       	$extras .= '  <div>';
       	$extras .= '    <input type="hidden" name="cx" value="partner-pub-4485302719237249:8339840292" />';
       	$extras .= '    <input type="hidden" name="ie" value="UTF-8" />';
       	$extras .= '    <input type="text" name="q" size="35" />';
       	$extras .= '    <input type="submit" name="sa" value="Search" />';
       	$extras .= '  </div>';
       	$extras .= '</form></div>';
       	$extras .= '<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>';
       	echo $extras;
       }
       add_action('st_header','st_header_extras', 2);
       ```
   
 *  Thread Starter [crazygoingslowlyami](https://wordpress.org/support/users/crazygoingslowlyami/)
 * (@crazygoingslowlyami)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/#post-4662693)
 * Thanks! It placed it in the left part of the area above the navigation. It looks
   a bit off, though. Is there any way to push it downward a bit closer to the navigation
   bar? Also, for some reason the search button is off centered from the text area,
   and I have no idea why that would happen.
 * Thanks so much for your continued help!
 *  Theme Author [simplethemes](https://wordpress.org/support/users/simplethemes/)
 * (@simplethemes)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/#post-4662717)
 * It sounds like a simple CSS fix. If you can share a link I’ll be glad to take
   a look.
 *  Theme Author [simplethemes](https://wordpress.org/support/users/simplethemes/)
 * (@simplethemes)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/#post-4662736)
 * Just let me know if I can be of any further help.
 *  Thread Starter [crazygoingslowlyami](https://wordpress.org/support/users/crazygoingslowlyami/)
 * (@crazygoingslowlyami)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/#post-4662738)
 * Sorry about the lack of response, simplethemes. I appreciate all your help so
   far. The site in question is naturalalternativeremedy.com
 *  Thread Starter [crazygoingslowlyami](https://wordpress.org/support/users/crazygoingslowlyami/)
 * (@crazygoingslowlyami)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/#post-4662739)
 * I forgot to mention that it also looks even worse on a phone, haha. Thanks again!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Extra Header Area?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/smpl-skeleton/2.1.1/screenshot.
   png)
 * Smpl Skeleton
 * [Support Threads](https://wordpress.org/support/theme/smpl-skeleton/)
 * [Active Topics](https://wordpress.org/support/theme/smpl-skeleton/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/smpl-skeleton/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/smpl-skeleton/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [crazygoingslowlyami](https://wordpress.org/support/users/crazygoingslowlyami/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/extra-header-area/#post-4662739)
 * Status: resolved