[wordpress插件] Controllercons控制器图标

wordpress 插件 文章 2020-04-01 20:40 564 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Controllercons are a set of video game controller icons created primarly for web use.

Controllercons是主要为网络使用而创建的一组视频游戏控制器图标。

This plugin allows you to embed them directly into your WordPress content using the wysiwyg editor.

该插件可让您使用所见即所得编辑器将它们直接嵌入到WordPress内容中。

HOW TO USE

使用方法

The Controllercons plugin will add a new icon within the wysiwyg editor within the WordPress admin.

Controllercons插件将在WordPress管理员的wysiwyg编辑器中添加一个新图标。

Click on the Toolbar icon to expand the toolbar view and you will see the Controllercons icon.

单击工具栏图标以展开工具栏视图,您将看到Controllercons图标。

Clicking this icon will reveal all of the controller icons that can be embedded into your content.

单击此图标将显示可以嵌入到您的内容中的所有控制器图标。

Click on any of them to automatically place the icon.

点击其中任意一个即可自动放置图标。

Icons will appear as shortcodes when editing a post but can be viewed when previewing and publishing content

图标在编辑帖子时将显示为简码,但在预览和发布内容时可以查看

SHORTCODE

SHORTCODE

Whilst the easiest method of using Controllercons is via the wysiwyg editor you can also use the shortcode anywhere within your content.

尽管使用Controllercons的最简单方法是通过wysiwyg编辑器,但您也可以在内容中的任何位置使用简码。

[controllercon id="" size=""]

  [controllercon id =“” size =“”]

The ID parameter is the controller reference and size is an optional parameter should you wish to use it.

ID参数是控制器参考,大小是可选参数(如果您想使用它)。

The size paramemeter accepts any number (decimals included) or fixed values i.e. 10px, 1.2rem or 1.4em.

尺寸参数接受任何数字(包括小数)或固定值,即10px,1.2rem或1.4em。

By default the size will be a em value so a size of 2 will return 2em.

默认情况下,大小将为 em 值,因此,大小2将返回2em。

Shortcodes can also be used in your site template files using the following function

也可以使用以下功能在您的网站模板文件中使用短代码 <?php echo do_shortcode('[controllercon id =“ snes” size =“ 1”]');

?>

?>

Below is a list of controller references:

以下是控制器引用的列表:

*atari2600

* atari2600

*atari2600

* atari2600

*dreamcast

* dreamcast

*dreamcast-o

* dreamcast-o

*gamecube

* gamecube

*gamecube-o

* gamecube-o

*joyconl

* joyconl

*joyconl-o

* joyconl-o

*joyconr

* joyconr

*joyconr-o

* joyconr-o

*mastersystem

* mastersystem

*mastersystem-o

* mastersystem-o

*megadrive

* megadrive

*megadrive-o

* megadrive-o

*n64

* n64

*n64-o

* n64-o

*nes

* nes

*nes-o

* nes-o

*ps1

* ps1

*ps1-o

* ps1-o

*ps2

* ps2

*ps2-o

* ps2-o

*ps3

* ps3

*ps3-o

* ps3-o

*ps4

* ps4

*ps4-o

* ps4-o

*snes

* snes

*snes-o

* snes-o

*switchpro

* switchpro

*switchpro-o

* switchpro-o

*virtualboy

*虚拟男孩

*virtualboy-o

* virtualboy-o

*wii

* wii

*wii-o

* wii-o

*wiiclassic

* wiiclassic

*wiiclassic-o

* wiiclassic-o

*wiiu

* wiiu

*wiiu-o

* wiiu-o

*wiiupro

* wiiupro

*wiiupro-o

* wiiupro-o

*xbox

* xbox

*xbox-o

* xbox-o

*xboxs

* xboxs

*xboxs-o

* xboxs-o

*xbox360

* xbox360

*xbox360-o

* xbox360-o

*xboxone

* xboxone

*xboxone-o

* xboxone-o

MORE INFORMATION

更多信息

To find out more about the Controllercons project visit Controllercons

要了解有关Controllercons项目的更多信息,请访问Controllercons

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress Plugin Manager.
    2. 将插件文件上传到 / wp-content / plugins / 目录,或通过WordPress插件管理器安装插件。

    3. Once downloaded, activate via the Plugin Manager.
    4. 下载后,通过插件管理器激活。

    5. Enjoy!
    6. 享受!

    7. You an also tweak the settings via the Controllercons settings page in the admin menu.
    8. 您还可以通过管理菜单中的Controllercons设置页面来调整设置。

下载地址
https://downloads.wordpress.org/plugin/controllercons.1.1.0.zip
-EOF-

AI助手支持GPT4.0