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. 通过WordPress的的“Plugins”菜单激活插件
  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.

比如

[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]

常见问题

没有

评价

2021 年 10 月 15 日
Hi I can use this plugin for cloacking googlebot?
阅读所有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