This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Smart App Banners

Description

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.

Screenshots

  • 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

FAQ

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

Changelog

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

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code