[wordpress插件] Curved Text弯曲文字

wordpress 插件 文章 2020-04-07 04:00 438 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

A very simple shortcode series to create a curved text in WordPress using Arctext.js

使用Arctext.js在WordPress中创建弯曲文本的非常简单的短代码系列

Examples:

示例:

[arctext type=’p’ title=’How to curve text in WordPress?’ class=’curved-text’ radius=’500′ dir =’-1′ rotate=’false’]

[arctext type ='p'title ='如何在WordPress中弯曲文本?'class ='弯曲文本'radius ='500'dir ='-1'rotation ='false']

[arctext type=’div’ title=’How to curve text in WordPress?’ class=’curved-text’ radius=’300′ dir =’1′]

[arctext type ='div'title ='如何在WordPress中弯曲文本?'class ='弯曲文本'radius ='300'dir ='1']

[arctext type=’h3′ title=’How to curve text in WordPress?’ class=’curved-text’ radius=’200′ ]

[arctext type ='h3'title ='如何在WordPress中弯曲文本?'class ='curved-text'radius ='200']

    • Type : Type of element.

    • Type:元素的类型。

      Ex: p, span, h1, h2, h3, h4, div, ..

    • 例如:p,span,h1,h2,h3,h4,div,..

    • Title: Text to be displayed.
    • 标题:要显示的文本。

    • Class: Name of the class.

    • Class:类的名称。

      It can be defined to style the class from the CSS file.

    • 可以定义它来从CSS文件中设置类的样式。

    • Radius: It should be a number.

    • 半径:应该为数字。

      Ex: 100, 500.

    • 例如:100、500。

    • Dir: Change the direction.

    • Dir:更改方向。

      It can be -1 or 1.

    • 可以是-1或1。

    • Rotate: Non-rotated / rotated letters.
    • 旋转:不旋转/旋转的字母。

    References:

    参考文献:

      • https://github.com/codrops/Arctext
      • https://github.com/codrops/Arctext

安装步骤

    1. Upload the plugin files to the wp-content/plugins/curved-text directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到wp-content / plugins / curved-text目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Done
    6. 完成

下载地址
https://downloads.wordpress.org/plugin/curved-text.zip
-EOF-

AI助手支持GPT4.0