Title: WP TypeIt Lite
Author: Alex MacArthur
Published: <strong>2018 年 6 月 7 日</strong>
Last modified: 2020 年 5 月 28 日

---

搜索插件

![](https://ps.w.org/wp-typeit/assets/banner-772x250.jpg?rev=1888483)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/wp-typeit/assets/icon-256x256.jpg?rev=1888489)

# WP TypeIt Lite

 作者：[Alex MacArthur](https://profiles.wordpress.org/alexmacarthur/)

[下载](https://downloads.wordpress.org/plugin/wp-typeit.1.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-typeit/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-typeit/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-typeit/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-typeit/#developers)

 [支持](https://wordpress.org/support/plugin/wp-typeit/)

## 描述

This is the official free WordPress plugin for [TypeIt](https://typeitjs.com), the
most versatile animated typing utility on the planet. WP TypeIt Lite allows you 
to easily generate typewriter effects for your website by use of a single easy-to-
configure shortcode. Place this shortcode on any post or page, and the effect will
be live.

#### The Perks

 * _Unobtrusive_ – All this plugin does is register a shortcode you can use in your
   posts.
 * _Lightweight_ – TypeIt is 100% vanilla JavaScript, so it won’t load any dependencies
   like jQuery.
 * _Performance in Mind_ – TypeIt will only be enqueued if it’s actually needed 
   on the page.
 * _The Real Deal_ – This plugin is created and maintained by the creator of TypeIt
   itself.

#### Want More Features & Active Development?

Being a “lite” version, this plugin largely receives maintenance updates and will
probably not gain any more features than what’s currently here. By purchasing a 
license for the fully-featured version of the plugin, you’ll get the following:

 * Access to a Gutenberg block for creating highly customizable, dynamic effects.
 * More features for the shortcode provided by the plugin.
 * More frequent TypeIt source updates.

For more information, [see here](https://typeitjs.com/docs/wordpress).

### Using the Plugin

#### Make an Effect Using Shortcode Attributes

You can generate a typewriter effect by using a variation of the following shortcode
in a post or page, passing each setting as a shortcode attribute.

At bare minimum, you need to pass a `strings` attribute:

    ```
    [typeit strings="Look, I'm typing a string!"]
    ```

There also exists a wide set of attributes you may use to customize the typing effects.
For example, setting speed (in milliseconds):

    ```
    <h2>[typeit strings="Look, I'm typing a string!" speed="500"]</h2>
    ```

Or, making an effect continuously loop:

    ```
    <h2>[typeit strings="This is a string that will loop!" speed="100" loop="true"]</h2>
    ```

#### Define Strings in an SEO-Friendly Way

As demonstrated, you can define a string to be typed by passing it in as a “strings”
attribute. However, you may also define them by passing them inside of two enclosing
shortcode tags:

    ```
    [typeit speed="300"]This string will exist in your HTML, and when the page is loaded, TypeIt will take over and animate it.[/typeit]
    ```

When the tag is rendered, that string will be hard-coded on the page, rather than
stored in memory on page load. The advantage to this approach is that web crawlers
will be able to parse the text without JavaScript, making the content a bit more
SEO-friendly.

#### View All Available Options

For the full list of options you may pass, refer to the documentation at [typeitjs.com/docs#options](https://typeitjs.com/docs#options).

### Feedback

You like it? [Email](https://cn.wordpress.org/plugins/wp-typeit/alex@macarthur.me?output_format=md)
or [tweet](http://www.twitter.com/amacarthur) me. You hate it? [Email](https://cn.wordpress.org/plugins/wp-typeit/alex@macarthur.me?output_format=md)
or [tweet](http://www.twitter.com/amacarthur) me.

## 屏幕截图

 * [[
 * [[

## 安装

 1. Download the plugin and upload to your plugins directory, or install the plugin
    through the WordPress plugins page.
 2. Activate the plugin through the ‘Plugins’ page.

## 常见问题

### The TypeIt JS library requires a paid license to use commercially. Do I need one with this plugin?

Nope! Using this free plugin doesn’t require a paid license to use, regardless of
the project. However, if you wish to take advantage of the full feature set TypeIt
offers, you’ll need to purchase a license and implement the JS library on your own.
Or, you may [hire me to help](https://macarthur.me/contact).

### Do I need to worry about other JavaScript dependencies (like jQuery) for this to work?

Nope! TypeIt uses vanilla JavaScript with no external dependencies, so you’re good
to go.

## 评价

![](https://secure.gravatar.com/avatar/76d6d25b698e442f0c5d356d646e07341384775b1a40715aa94731c87289a575?
s=60&d=retro&r=g)

### 󠀁[not clear](https://wordpress.org/support/topic/not-clear-7/)󠁿

 [babonday](https://profiles.wordpress.org/babonday/) 2023 年 7 月 11 日

took over 2 hours and still cant work out how to have more then 1 line of text on
a loop. not sure if cos its lite or just doenst do it.. no shortcode examples of
how to do it anyway.. installed a plugin called typiong effect and literally sorted
it in 10 mins…. crazy

![](https://secure.gravatar.com/avatar/c1ed5a73da3babf7201ac23a491289d040e69fe0d6652e7ab6fc6e6490a016f9?
s=60&d=retro&r=g)

### 󠀁[Working fine on post and page](https://wordpress.org/support/topic/working-fine-on-post-and-page/)󠁿

 [wpsafar](https://profiles.wordpress.org/wpsafar/) 2019 年 2 月 14 日

It’s works fine on page and posts but I want to use it on my elementor page builder.
But it won’t works here 🙁

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/wp-typeit/reviews/)

## 贡献者及开发者

「WP TypeIt Lite」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Alex MacArthur ](https://profiles.wordpress.org/alexmacarthur/)

[帮助将「WP TypeIt Lite」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-typeit)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-typeit/)，查看[SVN仓库](https://plugins.svn.wordpress.org/wp-typeit/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wp-typeit/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-typeit/)。

## 更新日志

#### 1.0.0

 * Initial release.

#### 1.0.1

 * Improve documentation.
 * Add unit testing for increased code reliability.
 * Fix bug causing camel-cased shortcode attributes to work improperly.

#### 1.0.2

 * Improve code structure.
 * Make code more easily hookable for developers.

#### 1.0.3

 * Update TypeIt’s source to v7.0.4.

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**6 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **5.4.19**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-typeit/)
 * 标签
 * [text animation](https://cn.wordpress.org/plugins/tags/text-animation/)[text effect](https://cn.wordpress.org/plugins/tags/text-effect/)
   [typewriter effect](https://cn.wordpress.org/plugins/tags/typewriter-effect/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-typeit/advanced/)

## 评级

 2 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/wp-typeit/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wp-typeit/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/wp-typeit/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-typeit/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/wp-typeit/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-typeit/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-typeit/reviews/)

## 贡献者

 *   [ Alex MacArthur ](https://profiles.wordpress.org/alexmacarthur/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-typeit/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://paypal.me/alexmacarthur)