This sidebar widget provides different search methods and filters by Congress, with more features coming as the THOMAS beta search page is fleshed out. You’ll notice that right now the form is a carbon copy of the one that THOMAS provides on its search page – this is more than adequate for my needs right now, and further developments will be done within the constraints of the THOMAS system.
What can I do with this?
- Search by Senator/Congressperson name to see what bills they’ve sponsored.
- Search by bill or resolution number to get a full-text reading.
- Search the Congressional Record full-text.
What’s coming down the pipe?
This is my first WordPress plugin, so bear with me. Coming soon:
- Control panel to set default search options, etc.
- Ability to add links to favorite Senators/Congresspeople as links.
- Sorting by relevance, content type, date.
- Maybe a customized wrapper for the search results.
Thanks for your interest! Please send all comments/suggestions to email@example.com.
This section describes how to install the plugin and get it working.
- Upload the
thomasSearchdirectory to the
- Go to ‘Plugins’ in WordPress, and activate the ‘Search Congress’ plugin.
- Go to ‘Manage’, and then ‘Widgets’.
- Add the ‘THOMAS Search: Search Congress’ widget to your list and arrange accordingly.
- You’re done! All options are on by default.
How can I set the default options?
That functionality will come soon in the form of a control panel.
Can I open the search in the same window?
Not right now, as I’d like to have some sort of custom wrapper for the search results first. If you can’t wait for that, feel free to remove ‘target=”_blank”‘ from the form tag in thomasSearch.php.