该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Mobile App Banners

描述

Automatically implement Safari’s new Mobile App Banner feature on your WordPress site. The banner provides a standardized method of promoting apps on the App Store from any website. The banner by default will appear on all pages. In order for this to work you have to enter your app id in Settings > Mobile App Banners > Your App ID.

New Features

  • Localization
  • Added the ability to disable site-wide Mobile app banner and assign banners to specific posts and pages.
  • Added “Download on the App Store” and “Download for Android” badges. You can add the badges:
  • as widgets Settings->Widgets-> Winyourbrand Download on the App Store and Winyourbrand Download for Android
  • anywhere using shortcodes [app-store-download id=yourid] and [android-download id=yourid]

Localization

If you have translated into your language, please let me know.

安装

  1. From WP admin > Plugins > Add New
  2. Search “Mobile App Banners” under search and hit Enter
  3. Click “Install Now”
  4. Click the Activate Plugin link
  5. Enter your app id in Settings > Mobile App Banners > Your App ID

常见问题

How do I find out what my app id is?

Check out the iTunes Link Maker, type the name of your app in the Search field, and select the appropriate country and media type. In the results, find your app and select iPhone App Link in the column on the right. Your app ID is the nine-digit number in between id and ?mt.

Where will my app banner be displayed?

By default it will be displayed on the top of every page. You can disable this by unchecking the box at Settings > Mobile App Banners > Show banner on all pages

How do I add a Mobile app banner on specific posts and pages

When you are editing a post or page, there is a field box Mobile App Banners > Your App ID.

How do I add a “Download on the App Store” badge using widgets?

Settings->Widgets-> Winyourbrand Download on the App Store

Using shortcodes?

[android-download id=”yourid”]. id is required.

How do I add a “Download for Android” badge using widgets?

Settings->Widgets-> Winyourbrand Download for Android

Are there any optional parameters I can include in shortcodes?

Yes. size and verticalalign. By default they are set to 100 and top. for example [android-download id=”yourid” size=”50″ verticalalign=”bottom”] would produce a download for android badge which is half sized and aligned at the bottom of the current line.

How do I know what to use for my android app id?

It’s your apps Package Name. Read about it here

评价

此插件暂无评价。

贡献者及开发者

“Mobile App Banners” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Mobile App Banners”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1

  • fix a bug

1.0

  • Initial version