前言介紹
- 這款 WordPress 外掛「AddFunc Adaptive Content」是 2015-09-17 上架。
- 目前有 60 個安裝啟用數。
- 上一次更新是 2018-12-11,距離現在已有 2336 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
adaptive | adaptive content | adaptive function | adaptive quicktags | adaptive shortcode |
內容簡介
隨著市場上新型的網路裝置越來越多,螢幕大小和數據傳輸速度也各不相同,一個網站無法在每次請求時提供相同的內容(不做限制和/或流量損失是不可能的)。
這個輕量級的外掛程式讓內容編輯和主題作者可以使用短代碼、快速標籤或主題元素函數選擇 WordPress 何時應該顯示或不顯示特定內容項目。它使用 Mobile Detect (一個 PHP 腳本) 來辨識網站訪客的裝置是否為手機、平板電腦或桌上型電腦,讓你可以允許或禁止輸出內容。例如,對於通常可用的數據傳輸速度較低的設備(例如行動設備),可以使用它來防止輸出大型檔案,如圖片。對於桌上型電腦和筆記型電腦,請提供更多廣泛的複製內容和更複雜的使用者介面;對於平板電腦,以市場化平板電腦導向的產品或服務為目標。你還可以檢測 iOS、iPhone、iPad、Android 和 Windows Mobile 運行系統。
短代碼範例: [notmobile]在這兩個標籤之間寫任何你想寫的東西,當訪客使用桌面電腦/筆記型電腦或平板電腦而非行動裝置訪問網站時,WordPress 將只輸出這些內容。[/notmobile]
使用文字編輯器的快速標籤輕鬆添加這些短代碼。
所有短代碼也都作為函數(命名空間前綴為 aFAC_),可以按需在主題中使用。更多細節請參閱FAQs。每個函數都是布林值,只會返回 true 或 false。
原文外掛簡介
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 (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 for more detail. Each function is a boolean and simply returns true or false.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「AddFunc Adaptive Content」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。