Title: Mobile App Banners
Author: winyourbrand
Published: <strong>2019 年 4 月 9 日</strong>
Last modified: 2019 年 4 月 12 日

---

搜索插件

![](https://ps.w.org/mobile-app-banners/assets/banner-772x250.png?rev=2065419)

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

![](https://ps.w.org/mobile-app-banners/assets/icon-256x256.png?rev=2065419)

# Mobile App Banners

 作者：[winyourbrand](https://profiles.wordpress.org/winyourbrand/)

[下载](https://downloads.wordpress.org/plugin/mobile-app-banners.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/mobile-app-banners/#description)
 * [评价](https://cn.wordpress.org/plugins/mobile-app-banners/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/mobile-app-banners/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/mobile-app-banners/#developers)

 [支持](https://wordpress.org/support/plugin/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](http://www.winyourbrand.com/contact/).

## 安装

 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](http://itunes.apple.com/linkmaker/), 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](http://developer.android.com/distribute/googleplay/promote/linking.html)

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ winyourbrand ](https://profiles.wordpress.org/winyourbrand/)

[帮助将「Mobile App Banners」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/mobile-app-banners)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/mobile-app-banners/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/mobile-app-banners/)，或通过[RSS](https://plugins.trac.wordpress.org/log/mobile-app-banners/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/mobile-app-banners/)。

## 更新日志

#### 1.1

 * fix a bug

#### 1.0

 * Initial version

## 额外信息

 *  版本 **3.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.9 或更高版本 **
 *  已测试的最高版本为 **5.1.27**
 *  语言
 * [English (US)](https://wordpress.org/plugins/mobile-app-banners/)
 * 标签
 * [app](https://cn.wordpress.org/plugins/tags/app/)[banner](https://cn.wordpress.org/plugins/tags/banner/)
   [iphone app](https://cn.wordpress.org/plugins/tags/iphone-app/)
 *  [高级视图](https://cn.wordpress.org/plugins/mobile-app-banners/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/mobile-app-banners/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/mobile-app-banners/reviews/)

## 贡献者

 *   [ winyourbrand ](https://profiles.wordpress.org/winyourbrand/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/mobile-app-banners/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.winyourbrand.com/donate/)