Linux 软件免费装
Banner图

Plugin Name

开发者 drobersorg
更新时间 2017年11月6日 23:17
PHP版本: 4.3 及以上
WordPress版本: 4.8.3
版权: GPLv2 or later
版权网址: 版权信息

标签

state vote government politics legislation open states find state legislators legislator legislature

下载

1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 1.0

详情介绍:

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.

安装:

  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

屏幕截图:

  • 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

常见问题:

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

更新日志:

1.3.3 1.3.2 1.3.1 1.3 1.2 1.1 1.0