描述
This is a simple WordPress plugin that you can modify to fit your own needs. Use your iOS’s application id and it will spit out some basic HTML that you can then apply your own styling to.
Why?
I wanted to make sure that I had accurate descriptions and current pricing information for all my apps wherever I display this data on my personal websites. This was the natural thing to do.
Check out the example of what it produces here: http://www.mohawkapps.com/checkout-helper/
Advanced Usage
You can also use the following shortcodes to pull only parts of the application’s data. Please note that you must also pass the id to these shortcodes as well of the plugin won’t know what application you want the data for.
- name
- icon
- icon_url
- version
- price
- release_notes
- description
- rating
- iphoness
- ipadss
- itunes_link
This plugin will cache the data from your application in the WordPress database for 24 hours. Application icons and screenshots are cached on your server by default but if you’d like to pull those images directly from Apple’s CDN servers (usually faster), change the value of IOS_APP_PAGE_CACHE_IMAGES to false
安装
- Upload the plugin folder to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place the shortcode
[ios_app id="1234"]
(where “1234” is your application’s App Store ID) anywhere in a post or page.
常见问题
None.
贡献者及开发者
更新日志
1.7.1
- Fix some caching issues.
- Simplify codebase for easier maintainability.
- Addressed issue where same screenshot would be displayed when caching on your server.
1.7
- Now allows the user to turn on off the smart banner functionality in the admin.
- Updated code for new iTunes affiliate program and removed old Linkshare code. Set your new PHG Affiliate code and campaign in the admin.
1.6
- Added store country selector to the admin page to change store search countries. Defaults to USA.
1.5.1
- Added linkshare ID option to settings. If filled in, it will change the links to the iTunes store to use your affiliate ID.
1.5
- Added the Smart App Banner (new feature in iOS 6’s version of Safari) for pages with the shortcode included. http://developer.apple.com/library/ios/Documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html
1.4
- New min required wordpresss version: 2.7
- Added round corners for modern browsers on the app icons.
- Legit settings page now. No more hacking at the plugin file.
1.3.1
- Fixed bug where apps with zero ratings would display the ratings text incorrectly.
1.3
- Initial public release on WordPress.org