Add a tag search bar to your Tumblr page.
[ Place this part of the code directly above the </head> tag ]
<script type=“text/javascript”>
<!–
function handleThis(formElm)
{
window.location=“http://YOUR-URL-HERE.tumblr.com/tagged/”+formElm.q.value+“”;
return false;
}
// –></script>
[ Place this second part inside the <body></body> tags where you want the box to be. ]
<form onsubmit=“return handleThis(this)”>
<input type=“text” name=“q”>
<input type=“Submit” value=“NAME-YOU-WANT-ON-THE-BUTTON”>
</form>
Replace the CAPS LOCK words in the code.
If you want it inside your Nav section [Like I have it] look for the grey line of code reading “ <!– Navigation –> ” and place the second code right below it.
Note: The search bar will only shows posts that have TAGS.
You can add TAGS to a post before rebloging it or add them after by editing your older posts.
ENJOY :)
[PS: If you use this at least Like or Reblog it. Thanks]
COMMENTS- multifandom-filipina reblogged this from janetair
- readandruletheworld liked this