Text Post Thu, Mar. 01, 2012 31 notes

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)
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">

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.


[PS: If you use this at least Like or Reblog it. Thanks]

  1. odakota-rose reblogged this from janetair
  2. dear-alex-cole reblogged this from janetair
  3. janetair posted this