Hi. I’m a newbie to WordPress (and blogging in general).
I’m working on a blogg for my public library and want to have a small search box in the right sidebar where people can enter the search term, press the search button, and continue to the ‘hitlist’ in the library websearch/OPAC.
Have tried with the Text Widget (Arbitrary text or HTML), but upon saving the widget strips out most of the code.
This is the code from our supplier of the library “household”-program:
> <form method='POST' action='http://bibliotek.sarpsborg.com/mikromarc/wsHitList.Asp?Unitid=0&setDocgrp=1'> > <input type='hidden' name='searchUnitId' value='0'> > <input type='hidden' name='searchDocGrp' value='1'> > <input type='hidden' name='SCode1' value='FT'> > <b>Søk i katalogen:</b><br /> > <input type='text' size='20' class=input_200' name="SearchStr1" id="SearchStr1"> > <br /><input type='submit' name='submit' value='Start søk'> > </form>
This is how the widgets saves it:
> <form method='POST' action='http://bibliotek.sarpsborg.com/mikromarc/wsHitList.Asp?Unitid=0&setDocgrp=1'> > <b>Søk i katalogen:</b><br /> > <br /> > </form> > <br /> > <br />
I hope there is a simple solution… 🙂
I have made drafts to our blog in both blogspot and wordpress. The search box works in blogspot, but wordpress’ features are superior and I would very much like to have this search box…
You can see the search box ‘in action’ in the right sidebar of the blogspot version: “Søk i katalogen”. The blog is in Norwegian, so don’t expect to understand what is written… 🙂
Online, Theme: Andreas09
Thanks in advance! 🙂
- The topic ‘Text Widget – HTML code for library search box’ is closed to new replies.