This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Legisearch

Description

A state legislative tracking system for activist organizations.

This WordPress plugin uses data from the Open States API as well as the Google Maps API to create a legislative lookup and bill tracking tool for WordPress websites.

Screenshots

  • Settings page. You must at least register an Open States API Key (free) in order for this plugin to work properly.
  • Search for existing state legislation from any state over several years
  • The All Bills page shows all legislation you are tracking
  • Select which votes to show to your visitors
  • Simple shortcode allows users to find their state legilsators based on address or you can present them links to specific legislators or an entire Senate or State Assembly.
  • This is what the user sees after they search by address
  • Legislator page showing contct information and voting record for votes you are tracking
  • It is simple to show an entire legislative chamber such as the State Senate or Assembly

Installation

  1. Go to Plugins > Add New
  2. Click the Upload Plugin button
  3. Select wp-legisearch.zip
  4. Activate the plugin
  5. Go to Legisearch > Settings to set up the API keys
  6. Use [legisearch_addresslookup] shortcode to create an address form for looking up legislators
  7. Use [legisearch_chamberlink state=”” chamber=”upper”] or [legisearch_chamberlink state=”” chamber=”lower”] to display a link to the ‘s upper and lower legislative chambers. Replace with the two-letter postal code for the state.
  8. See Plugin homepage for details on setting up API Keys and customizing

FAQ

Installation Instructions
  1. Go to Plugins > Add New
  2. Click the Upload Plugin button
  3. Select wp-legisearch.zip
  4. Activate the plugin
  5. Go to Legisearch > Settings to set up the API keys
  6. Use [legisearch_addresslookup] shortcode to create an address form for looking up legislators
  7. Use [legisearch_chamberlink state=”” chamber=”upper”] or [legisearch_chamberlink state=”” chamber=”lower”] to display a link to the ‘s upper and lower legislative chambers. Replace with the two-letter postal code for the state.
  8. See Plugin homepage for details on setting up API Keys and customizing
The information on a legislator or bill is incorrect. How do I fix it?

All legislative information is pulled from the Open States API and temporarily cached in your database. If you find that information is incorrect, you should first try clearing the cache in the Settings page. If the information is still incorrect, you may need to wait for Open States to correct the data.

I get an error on the geo result page that says my API key is invalid

You not only need a Google Maps API key, you also need to enable the Google Maps Javascript API. In the Developers Console, go to your project. In the dashboard of your project, you will see a “Use Google APIs” box. Click on the “Enable and manage APIs” link. On the new page, click “Google Maps Javascript API” and enable. Do the same for the “Google Maps Geocoding API.”

Reviews

Legisearch rocks!

Great idea, this plugin connects to the very valuable Open States public database that "provides a JSON API for accessing state legislative information". Developer Dan responded very quickly to a small issue I posed in the forum, and gave me a detailed solution that fixed my concern pronto. 🙂
Read all 1 review

Contributors & Developers

“WP Legisearch” is open source software. The following people have contributed to this plugin.

Translate “WP Legisearch” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3.3

  • Supports new API format from Open States API

1.3.2

  • Changed to support the now-independent Open States API

1.3.1

  • Fixed a bug related to Open States caching that made processing super slow

1.3

  • Added preference tracking for votes

1.2

  • API Keys will now save when updating or reactivating plugin
  • Improved caching of Open States data
  • Added sponsorship support

1.1

  • Updated the title and content filters because some themes weren’t handling them properly.
  • Improved handling of apostrophes and quotes for bill and vote descriptions.

1.0

  • Initial stable release.