Title: Mobble Shortcodes
Author: Philip John
Published: <strong>2013 年 9 月 15 日</strong>
Last modified: 2014 年 9 月 1 日

---

搜尋外掛

![](https://ps.w.org/mobble-shortcodes/assets/banner-772x250.png?rev=773270)

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

![](https://s.w.org/plugins/geopattern-icon/mobble-shortcodes_636060.svg)

# Mobble Shortcodes

 由 [Philip John](https://profiles.wordpress.org/philipjohn/) 開發

[下載](https://downloads.wordpress.org/plugin/mobble-shortcodes.0.2.4.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/mobble-shortcodes/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/mobble-shortcodes/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/mobble-shortcodes/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/mobble-shortcodes/#developers)

 [技術支援](https://wordpress.org/support/plugin/mobble-shortcodes/)

## 外掛說明

Mobble Shortcodes takes the functions available in the Mobble function and makes
them available for use in pages, posts and other content.

It gives you the ability to deliver different content to different devices at will.

## 安裝方式

See https://codex.wordpress.org/Managing_Plugins#Installing_Plugins

## 常見問題集

  What shortcodes are available?

The most useful ones are:

    ```
    [is_handheld] (any handheld device e.g., phone, tablet, Nintendo)
    [is_mobile] (any type of mobile phone e.g., iPhone, Android, etc)
    [is_tablet] (any tablet device)
    [is_ios] (any Apple device e.g., iPhone, iPad, iPod)
    ```

You can also use:

    ```
    [is_iphone]
    [is_ipad]
    [is_ipod]
    [is_android]
    [is_blackberry]
    [is_opera_mobile]
    [is_symbian]
    [is_kindle]
    [is_windows_mobile]
    [is_motorola]
    [is_samsung]
    [is_samsung_tablet]
    [is_sony_ericsson]
    [is_nintendo]
    ```

You can also add ‘not’ to any of the above to negate the check, for example;
 [is_not_handheld](
NOT any handheld device e.g., phone, tablet, Nintendo) [is_not_mobile] (NOT any 
type of mobile phone e.g., iPhone, Android, etc) [is_not_tablet] (NOT any tablet
device) [is_not_ios] (NOT any Apple device e.g., iPhone, iPad, iPod)

  Do you have any examples?

Yup. Use it to annoy your visitors, if you want…

    ```
    [is_mobile]
    I see you're on a mobile! This is an annoying message to bug you about our crappy mobile app.
    [/is_mobile]
    ```

This second example can direct people to the right mobile app store

    ```
    Get our super awesome app: 
    Download from [is_android]<a href="https://play.google.com/store/apps/details?id=com.studio215.bigbangwhip">Google Play</a>[/is_android]
    Download from [is_ios]<a href="https://itunes.apple.com/gb/app/pocket-whip/id319927587?mt=8">Apple App Store</a>[/is_ios]
    ```

  Caching

Please note that in certain setups caching will cause undesired behaviour. If your
cache is set too aggressively PHP will be skipped and the device detection will 
not work.

  WTF is WTFPL?

Why bother with the GPL when it limits use? WTFPL says you can do “What The Fuck
you like” with this plugin. Print it on bedsheets and sleep with it for all I care.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Philip John ](https://profiles.wordpress.org/philipjohn/)

[將〈Mobble Shortcodes〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/mobble-shortcodes)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/mobble-shortcodes/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/mobble-shortcodes/)，或透過 
[RSS](https://plugins.trac.wordpress.org/log/mobble-shortcodes/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/mobble-shortcodes/)。

## 變更記錄

#### 0.2.4

 * Fix for over-complicated failing shortcode hook

#### 0.2.1

 * i18n fixes

#### 0.2

 * Added support for translations

#### 0.1

 * First version. Not a lot here.

## 中繼資料

 *  版本 **0.2.4**
 *  最後更新 **12 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 3.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.0.38**
 *  語言
 * [English (US)](https://wordpress.org/plugins/mobble-shortcodes/)
 * 標籤:
 * [mobile](https://tw.wordpress.org/plugins/tags/mobile/)[responsive](https://tw.wordpress.org/plugins/tags/responsive/)
   [shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/mobble-shortcodes/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/mobble-shortcodes/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/mobble-shortcodes/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/mobble-shortcodes/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/mobble-shortcodes/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/mobble-shortcodes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mobble-shortcodes/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/mobble-shortcodes/reviews/)

## 參與者

 *   [ Philip John ](https://profiles.wordpress.org/philipjohn/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/mobble-shortcodes/)