Title: AddFunc Adaptive Content
Author: Joe Rhoney
Published: <strong>2015년 9월 18일</strong>
Last modified: 2018년 12월 11일

---

플러그인 검색

![](https://ps.w.org/addfunc-adaptive-content/assets/banner-772x250.jpg?rev=1248884)

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://ps.w.org/addfunc-adaptive-content/assets/icon.svg?rev=1248884)

# AddFunc Adaptive Content

 작성자: [Joe Rhoney](https://profiles.wordpress.org/joerhoney/)

[다운로드](https://downloads.wordpress.org/plugin/addfunc-adaptive-content.2.0.zip)

 * [세부사항](https://ko.wordpress.org/plugins/addfunc-adaptive-content/#description)
 * [평가](https://ko.wordpress.org/plugins/addfunc-adaptive-content/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/addfunc-adaptive-content/#installation)
 * [개발](https://ko.wordpress.org/plugins/addfunc-adaptive-content/#developers)

 [지원](https://wordpress.org/support/plugin/addfunc-adaptive-content/)

## 설명

With all of the new web enabled devices springing up in the market and with the 
wide range of screen sizes and data transfer speeds, a website can no longer serve
the same content upon every request (not without some degree of limitation and/or
traffic-loss).

This lightweight plugin lets content writers and theme authors choose when WordPress
should or shouldn’t show any give content item using shortcodes and quicktags or
theme elements using functions. It uses [Mobile Detect](http://mobiledetect.net/)(
a PHP script) to identify the website visitor’s device as either mobile, tablet 
or desktop, enabling you to allow or disallow content to be output. Use it to prevent
large files such as images from outputting to devices that generally have a lower
data transfer speed available to them (e.g. mobile devices). Serve more extensive
copy and more elaborate userinterfaces to desktop devices and laptops. Target tablets
to market a tablet oriented product or service. You can also detect iOS, iPhone,
iPad, Android OS and Windows Mobile OS.

Example of a shortcode: [notmobile]Write anything you want between these two tags
and WordPress will only output it when the visitor is viewing your website with 
a desktop/laptop or tablet and not with a mobile device.[/notmobile]

Easily add these shortcodes using the Quicktags in Text view.

All shortcodes also exist as functions (prefixed with aFAC_ for namespacing), which
can be used in your theme as needed. See the [FAQs](https://wordpress.org/plugins/addfunc-adaptive-content/faq/)
for more detail. Each function is a boolean and simply returns true or false.

## 스크린샷

[⌊Quicktags available in Text view.⌉⌊Quicktags available in Text view.⌉[

Quicktags available in Text view.

[⌊This handy Help tip is easily at hand whenever you're editing content.⌉⌊This handy
Help tip is easily at hand whenever you're editing content.⌉[

This handy Help tip is easily at hand whenever you’re editing content.

## 설치

This section describes how to install the plugin and get it working.

e.g.

 1. Upload the `addfunc-adaptive-content` folder to the `/wp-content/plugins/` directory
 2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
 3. Start using the shortcodes in your content and/or the functions in your theme

## FAQ

  What shortcodes are available with AddFunc Adaptive Content?

All available shortcodes are documented in the Help tab under “Adaptive Content”(
on the content editing page).

  What functions are available with AddFunc Adaptive Content?

 * aFAC_mobileonly() — Returns true only when device is mobile (and not tablet)
 * aFAC_notmobile() — Returns true only when device is not mobile (or is tablet)
 * aFAC_tabletonly() — Returns true only when device is tablet
 * aFAC_nottablet() — Returns true only when device is not tablet
 * aFAC_desktoponly() — Returns true only when device is not mobile (and not tablet)
 * aFAC_notdesktop() — Returns true only when device is mobile (or is tablet)
 * aFAC_iosonly() — Returns true only when device is iOS
 * aFAC_iphoneonly() — Returns true only when device is iPhone
 * aFAC_ipadonly() — Returns true only when device is iPad
 * aFAC_androidonly() — Returns true only when device is Android OS
 * aFAC_windowsmobileonly() — Returns true only when device is Windows Mobile OS

  Does AddFunc Adaptive Content rely on JavaScript for anything?

To use the Quicktags you must have your JavaScript enabled. Other than that, nope.

  Does AddFunc Adaptive Content rely on PHP for anything?

Yep.

  Does AddFunc Adaptive Content work by browser sniffing?

Yes. That is what it’s base script ([Mobile_Detect.php](http://mobiledetect.net/))
is designed for and it does the job well.

  Wouldn’t a JavaScript solution be more reliable?

Can I get a statistic? It really depends on how often you get visitors who have 
javascript turned off and whether you can do without them. Likewise, I suppose, 
it depends on whether many of your visitors withhold their browser and system data
when requesting your website. Neither of these are very common, but they both happen.

  Wouldn’t a JavaScript solution be faster?

Not likely. PHP generally runs very fast on web servers, and with JavaScript the
you’re relying on the speed of your visitors system. Beside that, the point of this
plugin is to serve the right content to the right devices, and only that. If you
have to load a Javascript to detect the device before loading the rest of the page,
that’s an additional script served and another query to your server would be necessary,
when here we’re trying to minimize data transfer. Plus, waiting until your visitor’s
machine has finish running a script before you can serve up the entire page isn’t
as efficient as catching the device and OS specs when they first come to you automatically
and thusly knowing what to serve up right from the start of the initial query.

  Wouldn’t it be better to serve up images at an appropriate size based on the screen
size or image area width, rather than the device type?

Yes. That’s quite a trick and we would love to see someone develop a plugin which
makes that easy. I haven’t found one yet.

## 후기

![](https://secure.gravatar.com/avatar/0a1578beec074e68e2de1241d7d8848a3059eae6af2c8b433f547a0abac74321?
s=60&d=retro&r=g)

### 󠀁[PREFECT functionality for responsive webdesigns !!!](https://wordpress.org/support/topic/prefect-functionality-for-responsive-webdesigns/)󠁿

 [Hansjörg Jäckel](https://profiles.wordpress.org/hansjoergjaeckel/) 2016년 9월 
3일 답글 1개

Hi Developerteam, Thanks very much for your great & excellent work. It's very helpful
to hide content for responsive webdesigns! Please maintain this powerful & functional
WP-Plugin also in the future … Best regards

![](https://secure.gravatar.com/avatar/62c72dfd7f9c769ccb48f9a1aa2dc9a8c21fd7f128ac61c612bbb68255e5324a?
s=60&d=retro&r=g)

### 󠀁[Built for user-friendliness](https://wordpress.org/support/topic/built-for-user-friendliness/)󠁿

 [Joe Rhoney](https://profiles.wordpress.org/joerhoney/) 2016년 9월 3일

I built this plugin from the WP Mobile Detect plugin, which pretty much did the 
same thing, but has slightly different shortcodes. WP Mobile Detect had a problem
I needed handled. I fixed the problem, modified the shortcodes to what I think make
more sense and added a Help tab for quick and easy reference. Then I decided I should
share it with everyone. I hope you'll find it as invaluable as I do! Thanks to Jesse
Friedman for the authorship of this plugin's predecessor, WP Mobile Detect.

 [ 모든 2 평가 읽기 ](https://wordpress.org/support/plugin/addfunc-adaptive-content/reviews/)

## 기여자 & 개발자

“AddFunc Adaptive Content”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 
플러그인에 기여하였습니다.

기여자

 *   [ Joe Rhoney ](https://profiles.wordpress.org/joerhoney/)
 *   [ AddFunc ](https://profiles.wordpress.org/addfunc/)

[자국어로 “AddFunc Adaptive Content”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/addfunc-adaptive-content)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/addfunc-adaptive-content/)
는, [SVN 저장소](https://plugins.svn.wordpress.org/addfunc-adaptive-content/)를 
확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/addfunc-adaptive-content/)
을 [RSS](https://plugins.trac.wordpress.org/log/addfunc-adaptive-content/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 2.0

Feb-2016

 * Adds Quicktags
 * Includes updated Mobile_Detect.php to the latest stable release (2.8.19)

#### 1.0

Sep-2015

 * Includes updated Mobile_Detect.php to the latest stable release (2.8.16)
 * Includes updated readme.txt (hereafter goes without mention)
 * Submitted to WordPress repository

#### 0.1.2.0

Apr-2015

 * Repurposed WP Mobile Detect as AddFunc Adaptive Content, to alter the shortcodes
   and to reinstate maintenance of this valuable plugin

## 기초

 *  버전 **2.0**
 *  최근 업데이트: **8년 전**
 *  활성화된 설치 **50+**
 *  워드프레스 버전 ** 3.0.1 또는 그 이상 **
 *  다음까지 시험됨: **5.0.29**
 *  언어
 * [English (US)](https://wordpress.org/plugins/addfunc-adaptive-content/)
 * 태그:
 * [adaptive](https://ko.wordpress.org/plugins/tags/adaptive/)[adaptive content](https://ko.wordpress.org/plugins/tags/adaptive-content/)
 *  [고급 보기](https://ko.wordpress.org/plugins/addfunc-adaptive-content/advanced/)

## 평점

 별 5점 만점에 5점.

 *  [  2/5-별점 후기     ](https://wordpress.org/support/plugin/addfunc-adaptive-content/reviews/?filter=5)
 *  [  0/4-별점 후기     ](https://wordpress.org/support/plugin/addfunc-adaptive-content/reviews/?filter=4)
 *  [  0/3-별점 후기     ](https://wordpress.org/support/plugin/addfunc-adaptive-content/reviews/?filter=3)
 *  [  0/2-별점 후기     ](https://wordpress.org/support/plugin/addfunc-adaptive-content/reviews/?filter=2)
 *  [  0/1-별점 후기     ](https://wordpress.org/support/plugin/addfunc-adaptive-content/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/addfunc-adaptive-content/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/addfunc-adaptive-content/reviews/)

## 기여자

 *   [ Joe Rhoney ](https://profiles.wordpress.org/joerhoney/)
 *   [ AddFunc ](https://profiles.wordpress.org/addfunc/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/addfunc-adaptive-content/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7AF7P3TFKQ2C2)