Linux 软件免费装

WPCheckin Widget and Shortcode

开发者 Adam Sommer
更新时间 2013年11月27日 00:50
PHP版本: 3.0.1 及以上
WordPress版本: 3.6
版权: GPLv2 or later
版权网址: 版权信息

标签

widget shortcode social location API Google Places

下载

详情介绍:

Why not be able to checkin on your blog so that your readers know where you are and have been? Sure there are other checkin sites on the Internet, but now you can count your blog as one of them. WPCheckin allows location checkins to be displayed in a widget or on any page via shortcode. Using Google Places, choose a location closest to your geo location as determined by your browser's HTML5 location information. This plugin requires a Google API key to be able to retrieve locations nearby, and stores checkins in a custom post type.

安装:

There are a few options for installing and setting up this plugin. Upload Manually
  1. Download and unzip the plugin
  2. Upload the 'wpcheckin' folder into the '/wp-content/plugins/' directory
  3. Go to the Plugins admin page and activate the plugin
Install Via Admin Area
  1. In the admin area go to Plugins > Add New and search for "WPCheckin"
  2. Click install and then click activate
To Setup The Plugin
  1. If you haven't created a key for the Google API follow these instructions: https://developers.google.com/console/help/#generatingdevkeys.
  2. In the WordPress admin area go to Settings > Checkins and then enter in your Google API key.
  3. Test that you are able to retrieve information from Google Places by clicking the "Get Places!" button.
How to Use the Widget
  1. Setup the Plugin (refer to above)
  2. Go to Appearance > Widgets and drag the 'WPCheckin' to your sidebar, or other widget area.
  3. Enter in a Title to appear above the checkin widget. For example "Here I am!"
How to Use the Shortcode
  1. Navigate to the post or page you would like to add the badges to
  2. Enter in the shortcode [wpcheckin]

屏幕截图:

  • Once you have installed the plugin, navigate to Settings > Checkin in the admin area.
  • To add a widget to your site go to Appearance > Widgets.  Look for the 'WPCheckin' widget and drag to the appropraite widget area.  Enter in a title to appear above the widget and click save.
  • To add WPCheckin using a shortcode use [checkin] on any post or page.
  • View individual checkin posts on the Checkins type page.
  • WPCheckin in action with the twenty thirteen theme.

常见问题:

How does WPCheckin know where I am?

WPCheckin uses the JavaScript navigator.geolocation.getCurrentLocation() function includedd in most modern browsers.

Why use the Google Places API?

The Google Places API provides a list of nearby places of interest making it easy to choose the one your are located at, or close by to.

更新日志:

1.0.1 1.0 0.9