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.



Stable features

This plugin allows your visitors to look up contact information of their Members of Congress (Senators and Representatives)

It is very rudimentary at the moment but will be expanded much, much further soon.

It’s powered by free data APIs from the Sunlight Foundation and When necessary geocoding is done by

  • Add [wpcongress_form] to the page if you want a lookup form to appear
  • Add [wpcongress_browse] to the page if you want a browse by state form to appear
  • A sidebar widget is also available!

You can see a demo here:

Work in Progress Features

Some basic capabilities to view information about a particular legislator, a specific bill or a roll call vote have been added.

These features are in a VERY preliminary state and will be significantly refined, streamlined, added to in future releases.
They are powered by the Sunlight Labs Drumbone API (

Returns recent sponsorship/cosponsorship information for a given legislator:

  • [wpcongress_legislator id=”L000551″]
  • id is based upon (search, look in the url of the legislators bio page for this value)

Returns information about specified bill:

  • [wpcongress_bill id=”hr3590-111″]
  • id is of the format: [type][number]-[session]

For example, HR 3590 from the 111th Congress would be “hr3590-111”.

Returns information about specified roll call vote:
* [wpcongress_roll id=”h165-2010″]
* id is of the format: [chamber][rollnumber]-[year]

For example, Roll Call 165, from 2010 in the House would be “h165-2010”.

As stated earlier these features will improve significantly over time! A search interface and TinyMCE integration is also in the works to make finding legislators, bills and roll calls much easier.


  • submission form
  • results


  1. Register for a Sunlight API key (it’s free, you can get one here:
  2. Add your key to the settings page. Plugins -> WPCongress Settings. Hit Save.
  3. Add [wpcongress_form] to the page where you want a lookup form to appear
  4. Add [wpcongress_browse] to the page where you want a browse by state form to appear
  5. You can add [wpcongress_bill], [wpcongress_roll], [wpcongress_legislator] to your site per instructions in the Description
  6. You should be up and running!


Where can I get a Sunlight API key?

Right here:

What are the terms of use of the Sunlight API?

Again see this page:

What are the terms of use of

“Free data services are provided from sources in the public domain, or under licenses that do not prohibit their open redistribution by us, e.g. Creative Commons licenses. These services are licensed for use by the general public for non-commercial uses only. Individuals and businesses that wish to use our services for any commercial, for-profit activity must obtain our premium services.” –

Where do you get your data?

Most of this data is from the Sunlight Foundation. They seem to get their data from a variety of public domain and open-ended sources. You can download most if not all of it from their web site and create your own repository/API if you so choose.

Geocoding is provided by They seem to get much of their data from the US Census TIGER/Line dataset ( They also offer their code & data for download.

Why does this plugin need to use geocoding?

Congressional districts are extremely irregular, not deliniated by city or at times even zip code. Finding latitude and longitude from an address is the easiest way to locate a Congressional District.

I want to help develop or have a suggestion, technical question or another issue

Please contact the author dsniezko )at{ sonic {dot] net.

Do you have a political agenda with this plugin? Who funded it?

I strongly believe in transparency and created this plugin as a public service because I found free tools to connect people with their elected officials to be sorely lacking.

I am happy to work with anyone who would like to improve this plugin. And if you don’t trust me this code is open source — you are free to inspect, modify, fork it, etc.

As of right now, this plugin hasn’t received any financial backing, it was created by one individual on my own time.

Contributors & Developers

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


Translate “WPCongress” into your language.

Interested in development?

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



  • minor bug fixes


  • bug fix per reports


  • minor bug fix per reports


  • editable stylesheet and javascript added
  • ajax form option
  • some basic cacheing
  • sidebar widget
  • improved stability
  • better FAQ


typo corrections


launch of several work in progress features


one further fix


one more fix


several bug fixes


Initial launch