Current Location
开发者 |
justindgivens
|
更新时间 |
2011年12月13日 00:37 |
捐献地址: |
去捐款 |
PHP版本: |
2.9 及以上 |
WordPress版本: |
3.3 |
详情介绍:
The plugin uses the Google Badge System and pulls the JSON file. The plugin then parses through the json file and displays your current location. You need to have a Google Account and signed into Google Latitude on your computer/mobile device. The idea behind this plugin is have my blog display my current location without my editing anything.
This plugin requires php5 or greater.
安装:
- Copy the folder 'current-location' into the directory 'wp-content/plugins/'.
- Activate the plugin.
- Find the Current Location settings button in your side of the 'wp-admin' panel.
- Update all settings.
- Add '<?php echo display_current_location(); ?>' to your template. OR Add [current-location] to your posts. OR Add the Current Location Widget.
- When upgrading your current-location edits will still work. But I've added the widget support, and [current-location] tag to post as well.
- Also added the dashboard widget.
更新日志:
1.5.9
- Tested again 3.3 Release.
- Added a Dashboard Widget so you can see what your current location is when you login.
1.5.8
- Re-styled the Admin Page.
1.5.7
- Updated the Post/Page Meta Information to be able to keep previously stored information. So if you edit a post, it doesn't automatically update your Current Location. It gives you an option to update it.
- Fixed Bug on the Page Meta Information.
1.5.6
- Updated all i18n Calls with the domain in the gettext calls. I missed this early. Sorry.
1.5.5
- Fixed some i18n issues.
- Added the TinyMCE button to the Post/Page Screen.
- Fixed a bug with the Post/Pages Meta Tags.
- Ready for i18n!
1.5.4
- Minor updates. Renamed some variables that might be used by other people.
- Updated all the stored and echos variables to be ready for I18n.
1.5.3
- Removed the userid from the error message so someone wouldn't steal it from the output.
- Changed the Map Zoom to Numbers instead of words.
- Updated the Config page to show the correct usage for a template add.
- Also fixed a bug with the Static Maps (Thanks mnbvcx)
1.5.2
- Post or Pages wouldn't display any content if you used the words current-location. Now I make sure to look for '[current-location' first then try and switch it with the post meta information.
1.5.1
- Minor change with display of the post/page meta data.
1.5
- Added Widget Support.
- Added [current-location] shortcode to the post page.
- Added Post Meta Data to work with the [current-location] shortcode.
- Added Static Maps as an option.
1.4
- Didn't release because I made major updates to the plugin so I went to 1.5 before releasing this.
- Works with WP 2.9.2
- Added new function to store your current location in the meta table. You need to choose to store your location on the post and it will append it to the end of the article.
- Works with both pages and post.
- Currently adds '<p>Posted from: Nashville, TN, USA</p>' to the end of each post that has the meta data stored.
1.3
- Fixed spelling mistakes and updating all the correct files this times :)
- Updated readme, index and screenshots.
1.2
- Still learning Subversion and upload to early. Sorry about this.
1.1
- Removed all old comments that had my default information stored.
1.0