UserAgent Content Switcher

描述

Display the html written between the shortcode of each user agent.

螢幕截圖

  • Settings
  • Edit & Quick Tag

安裝

  1. Upload useragent-content-switcher directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add a new Page
  4. Write a short code. The following text field. [agentsw]

How to use

Please add new Page. Please write a short code in the text field of the Page. Please go in Text mode this task.

“UserAgent Content Switcher” activation, you to include additional buttons for Shortcode in the Text (HTML) mode of the WordPress editor.

Examples

[agentsw]
Please code the HTML for the PC here.
[/agentsw]

[agentsw ua=’pc’]
Please code the HTML for the PC here.
[/agentsw]

[agentsw ua=’tb’]
Please code the HTML for the Tablet here.
[/agentsw]

[agentsw ua=’sp’]
Please code the HTML for the Smartphone here.
[/agentsw]

[agentsw ua=’mb’]
Please code the HTML for the Featurephone here.
[/agentsw]

常見問題

none

評價

閱讀全部2個評價

貢獻者及開發者

“UserAgent Content Switcher” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

UserAgent Content Switcher 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 UserAgent Content Switcher 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

3.05

Supported WordPress 6.4.
PHP 8.0 is now required.

3.04

Supported WordPress 5.6.

3.03

Fixed admin screen.

3.02

The admin screen has been changed.

3.01

Fixed a problem with the form validation process when adding “Type”.

3.00

Can add a shortcode attribute value and set the corresponding user agent.

2.39

Conformed to the WordPress coding standard.

2.38

Removed unnecessary code.

2.37

Fixed fine problem.

2.36

Changed donate link.

2.35

Add Quick Tag.
Fixed problem of management screen.

2.34

Fixed problem of Javascript.

2.33

Supported GlotPress.

2.32

/languages delete the directory.

2.31

Supported GlotPress.

2.3

Javascript and CSS will be loaded only to the required page.

2.2

Add screen of donate.
Change readme.txt.
Change /languages.

2.1

Fixed a problem of Java Script for admin screen.

2.0

Change management screen to responsive tab menu design.

1.1

Fixed of problem of error in debug mode.

1.0