Sunday, October 23, 2011

Remove Search/Label Results Bar

I enter the text into the search box.. A couple of posts pop up, above them stands proudly, a line, stating:"Showing newest posts for query ..... show all posts".
I don't know why, but it bothered me, it makes it look like one of those spam sites that lead you to searched instead of articles.
To remove it, just follow the easy steps:

Open your HTML, make sure to check the'Expand Widget Templates' box.
Find the following code:
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div class='status-msg-wrap'>
<div class='status-msg-body'>
<data:navMessage/>
</div>
<div class='status-msg-border'>
<div class='status-msg-bg'>
<div class='status-msg-hidden'><data:navMessage/></div>
</div>
</div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>
and replace it with:
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>
! This will also hide the bar the shows up when searching by Labels !

Simple and easy Search box for your blog! Click Here

0 comments:

Post a Comment