這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Smart App Banners

外掛說明

Automatically implement Safari’s new Smart 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 > Smart App Banners > Your App ID.

New Features

  • Localization
  • Added the ability to disable site-wide smart 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-> Motech Download on the App Store and Motech 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.

螢幕擷圖

  • Smart App Banners In Action
  • Enter your app id in Settings > Smart App Banners > Your App ID
  • You can now assign banners to specific posts and pages
  • "Download on the App Store" and "Download for Android" badges viewed on a mobile device
  • Easily add "Download on the App Store" and "Download for Android" badges using widgets or [app-store-download id=yourid] and [android-download id=yourid] shortcodes

安裝方式

  1. From WP admin > Plugins > Add New
  2. Search “Smart App Banners” under search and hit Enter
  3. Click “Install Now”
  4. Click the Activate Plugin link
  5. Enter your app id in Settings > Smart 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 > Smart App Banners > Show banner on all pages

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

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

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

Settings->Widgets-> Motech 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-> Motech 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

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Smart App Banners〉的開發相關工作。

參與者

將〈Smart App Banners〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2

  • Added localization

1.1

  • Added the ability to set smart app banners on specific posts and pages.
  • Added “Download on the App Store” and “Download for Android” badges. You can add the badges:
  • as widgets Settings->Widgets-> Motech Download on the App Store and Motech Download for Android
  • anywhere using shortcodes [app-store-download id=yourid] and [android-download id=yourid]

1.0

  • Initial version