Title: Animated Typed JS Shortcode
Author: Yong
Published: <strong>22 Tháng 7, 2020</strong>
Last modified: 22 Tháng 8, 2024

---

Tìm kiếm plugin

![](https://ps.w.org/animated-typed-js-shortcode/assets/banner-772x250.jpg?rev=2344453)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/animated-typed-js-shortcode/assets/icon-128x128.jpg?rev=2344453)

# Animated Typed JS Shortcode

 Bởi [Yong](https://profiles.wordpress.org/yongkiagustinus/)

[Tải về](https://downloads.wordpress.org/plugin/animated-typed-js-shortcode.2.1.2.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/animated-typed-js-shortcode/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/animated-typed-js-shortcode/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/animated-typed-js-shortcode/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/animated-typed-js-shortcode/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/animated-typed-js-shortcode/)

## Mô tả

Create an animated typing effect with [Typed.js](https://github.com/mattboldt/typed.js)
easily.

Just install and activate, **Animated Typed JS Shortcode** plugin and you can start
using `[typedjs][/typedjs]` shortcode to create your animated typing text.

No settings needed just plug and play.

#### How to use the shortcode?

You can use the shortcode just like this:

**`[typedjs]My animated typing text[/typedjs]`**

To show more than 1 string/text, separate the strings with a `double colons (::)`
like this:

**`[typedjs]My animated typing text::It's freaking awesome![/typedjs]`**

If you want to customize your animated text behaviour, you can use shortcode attributes
to do that like this:

**`[typedjs loop=true]My animated typing text::It's freaking awesome!::It's now 
looping, OMG![/typedjs]`**

Here are the list of all available attributes that you can use:

 * `typespeed` : The text typing speed in milliseconds (default: 50)
 * `startdelay` : Delay time before typing start in milliseconds (default: 500)
 * `backspeed` : Backspacing speed in milliseconds (default: 50)
 * `backdelay` : Time before backspacing in milliseconds (default: 500)
 * `smartbackspace` : Only backspace what doesn’t match the previous string (default:
   true)
 * `shuffle` : Shuffle the strings (default: false)
 * `fadeout` : Fade out instead of backspace (default: false)
 * `fadeoutdelay` : Time before fade out in milliseconds (default: 500)
 * `loop` : Loop strings animation (default: false)
 * `loopcount` : Amount of loops if enabled (default: Infinity)
 * `showcursor` : Show/hide cursor (default: true)
 * `cursorchar` : Character to be used as cursor (default: |)
 * `class`: Custom class for the shortcode element (default: ”)

#### Optimize Javascript loading

The `typed.min.js` is only 12KB, in the previous version I tried to load the script
only when the shortcode is used, but it’s not working properly because the script
is loaded asynchronously. So, I decided to load the script in the footer of the 
page to make sure it’s loaded properly.

However, if you want to load the script only on specific pages, you can use this
hook to enqueue the script only on specific pages:

    ```
    `php
    ```

add_action(‘wp_enqueue_scripts’, ‘my_custom_typedjs_script’);
 function my_custom_typedjs_script(){
if ( ! is_page( ‘my-page-slug’ ) ) { wp_dequeue_script( ‘typedjsshortcode’ ); } }`

This will dequeue the script on all pages except the page with the slug `my-page-
slug`.

#### CREDITS

Thanks to [Matt Boldt](https://mattboldt.com/) for creating this cool library [Typed.js](https://github.com/mattboldt/typed.js)!

## Cài đặt

 1. Upload “animated-typed-js-shortcode” folder to the “/wp-content/plugins/” directory.
 2. Activate the plugin through the “Plugins” menu in WordPress.

## Hỏi đáp

### How do i get support?

You can get support by going to Support section of this plugin page

## Đánh giá

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

### 󠀁[Very cool](https://wordpress.org/support/topic/very-cool-237/)󠁿

 [Dieter Geiling](https://profiles.wordpress.org/dieter93/) 14 Tháng 10, 2023

Works like a charm! Very cool an nice port of Typed.js from Matt Boldt to WordPress!
Thanks for that :-)and keep it up

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

### 󠀁[Semplice da usare](https://wordpress.org/support/topic/semplice-da-usare-2/)󠁿

 [Renzo Bassi](https://profiles.wordpress.org/renzobassi/) 22 Tháng 9, 2022

Molto semplice da installare e usare ma comunque ricco di funzioni grazie ai tanti
attributi disponibili nello shortcode. Funziona perfettamente su WordPress 6.0.2.

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

### 󠀁[Worked excellent in Divi theme](https://wordpress.org/support/topic/worked-excellent-in-divi-theme/)󠁿

 [davidacardona](https://profiles.wordpress.org/davidacardona/) 3 Tháng 5, 2022

Worked excellent in Divi theme

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

### 󠀁[Does not work, no support](https://wordpress.org/support/topic/does-not-work-no-support-9/)󠁿

 [chinaraj](https://profiles.wordpress.org/chinaraj/) 8 Tháng 12, 2021

Only works when I’m logged in. My users (not logged in ) see nothing.

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

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-2344/)󠁿

 [dtjb](https://profiles.wordpress.org/dtjb/) 30 Tháng 9, 2021

A nice lightweight (and free) solution that does exactly what it should, plus a 
few extra features. Great plugin, thanks for contributing to the community!

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

### 󠀁[Does what it say’s on the tin.](https://wordpress.org/support/topic/does-what-it-says-on-the-tin-472/)󠁿

 [Lewis Elborn](https://profiles.wordpress.org/beaniie/) 6 Tháng 2, 2021 1 trả lời

The title says it all.

 [ Đọc tất cả 6 đánh giá ](https://wordpress.org/support/plugin/animated-typed-js-shortcode/reviews/)

## Người đóng góp & Lập trình viên

“Animated Typed JS Shortcode” là mã nguồn mở. Những người sau đã đóng góp vào plugin
này.

Những người đóng góp

 *   [ Yong ](https://profiles.wordpress.org/yongkiagustinus/)

[Dịch “Animated Typed JS Shortcode” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/animated-typed-js-shortcode)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/animated-typed-js-shortcode/),
check out [SVN repository](https://plugins.svn.wordpress.org/animated-typed-js-shortcode/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/animated-typed-js-shortcode/)
qua [RSS](https://plugins.trac.wordpress.org/log/animated-typed-js-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 2.1

Release date: July 27th, 2024

 * WordPress 6.6 compatibility check
 * Add validation and condition to prevent XSS injection on the shortcode attributes

#### 2.0

Release date: August 12th, 2023

 * WordPress 6.3 compatibility check
 * Add attribute `class` to add custom class to the shortcode element

#### 1.1

Release date: July 22nd, 2021

 * WordPress 5.8 compatibility check

#### 1.0

Release date: March 23rd, 2020

 * Initial release.

## Meta

 *  Phiên bản **2.1.2**
 *  Cập nhật lần cuối **2 năm trước**
 *  Số lượt cài đặt **1.000+**
 *  Phiên bản WordPress ** 4.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.6.5**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/animated-typed-js-shortcode/)
 * Thẻ
 * [animation](https://vi.wordpress.org/plugins/tags/animation/)[jquery](https://vi.wordpress.org/plugins/tags/jquery/)
   [shortcode](https://vi.wordpress.org/plugins/tags/shortcode/)[typography](https://vi.wordpress.org/plugins/tags/typography/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/animated-typed-js-shortcode/advanced/)

## Đánh giá

 4.3 trên 5 sao.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/animated-typed-js-shortcode/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/animated-typed-js-shortcode/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/animated-typed-js-shortcode/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/animated-typed-js-shortcode/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/animated-typed-js-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/animated-typed-js-shortcode/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/animated-typed-js-shortcode/reviews/)

## Những người đóng góp

 *   [ Yong ](https://profiles.wordpress.org/yongkiagustinus/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/animated-typed-js-shortcode/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://paypal.me/yongki)