Title: Text Spinner
Author: Hassan Akhtar
Published: <strong>6 Tháng 3, 2014</strong>
Last modified: 24 Tháng 5, 2019

---

Tìm kiếm plugin

![](https://ps.w.org/text-spinner/assets/banner-772x250.png?rev=1538019)

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/text-spinner/assets/icon-256x256.png?rev=1538019)

# Text Spinner

 Bởi [Hassan Akhtar](https://profiles.wordpress.org/khaxan/)

[Tải về](https://downloads.wordpress.org/plugin/text-spinner.1.3.0.zip)

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

 [Hỗ trợ](https://wordpress.org/support/plugin/text-spinner/)

## Mô tả

This tiny plugin allows you to use spintax like `{phrase 1|phrase 2|phrase 3}` in
your posts, pages and theme files. Just enclose the content that you want to be 
processed in the shortcode [wpts_spin][/wpts_spin] and a unique copy will be generated
on each page load. Alternatively, you can pass the spintax string to the function`
wpts_spin()` and echo the returned value.

The plugin can help you avoid duplicate content penalties. For instance if you have
a sizable block of text that needs to appear throughout the website then you can
write spintax for it and use the above-mentioned shortcode or template tag to generate
unique copies.

Nested spintax like `{phrase 1|phrase 2|{sub-phrase 1|sub-phrase 2|sub-phrase 3}}`
is also supported by the plugin.

**Example 1:**

_Shortcode:_

    ```
    [wpts_spin]{phrase 1|phrase 2|phrase 3}[/wpts_spin]
    ```

_Function:_

    ```
    <?php wpts_spin('{phrase 1|phrase 2|phrase 3}'); ?>
    ```

_Sample Output:_

 * phrase 1
 * phrase 2
 * phrase 3

**Example 2 (Nested Spintax):**

_Shortcode:_

    ```
    [wpts_spin]{phrase 1|phrase 2|{sub-phrase 1|sub-phrase 2|sub-phrase 3}}[/wpts_spin]
    ```

_Function:_

    ```
    <?php wpts_spin( '{phrase 1|phrase 2|{sub-phrase 1|sub-phrase 2|sub-phrase 3}}' ); ?>
    ```

_Sample Output:_

 * phrase 1
 * sub-phrase 2

**Example 3 (Caching):**

_Shortcode:_

    ```
    [wpts_spin cache="604800"]{phrase 1|phrase 2|phrase 3}[/wpts_spin]
    ```

_Function:_

    ```
    <?php wpts_spin( '{phrase 1|phrase 2|phrase 3}', array( 'cache' => '604800' ) ); ?>
    ```

_Sample Output:_

Same as Example 1 but the output will be cached for a week (604800 seconds).

## Cài đặt

 1. Use WordPress’ plugin installer to install the plugin.
 2. Use the shortcode [wpts_spin] in posts or pages.

## Hỏi đáp

  How deep can the nesting be?

It can be as deep as you like. However a nested string might take more time to be
processed.

  The same content is appearing on every page load. What could be the problem?

The plugin works only when the page is rendered dynamically. If the post or page
is being loaded from a cache then the same content might keep appearing on every
page load.

## Đánh giá

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

### 󠀁[Good plugin](https://wordpress.org/support/topic/good-plugin-5285/)󠁿

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

Very useful

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

### 󠀁[Don’t work](https://wordpress.org/support/topic/dont-work-316/)󠁿

 [kenteush29](https://profiles.wordpress.org/kenteush29/) 27 Tháng 3, 2020

Nothing happens, it doesn’t work.

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

### 󠀁[It doesn’t work at all!](https://wordpress.org/support/topic/it-doesnt-work-at-all-10/)󠁿

 [seppp](https://profiles.wordpress.org/seppp/) 30 Tháng 12, 2019

don’t waste your time!

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

### 󠀁[Works Well!](https://wordpress.org/support/topic/works-well-1444/)󠁿

 [marcuscouch](https://profiles.wordpress.org/marcuscouch/) 9 Tháng 9, 2018

There are few “spinner” engine plugins that have worked properly for me. This one,
however worked quite well. It can even spin certain HTML, as I had it spin some 
random images into my test post. Very good, easy to use plugin for those that spin
content.

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

### 󠀁[Just Awesome](https://wordpress.org/support/topic/just-awesome-170/)󠁿

 [alex_ebo](https://profiles.wordpress.org/boosty/) 23 Tháng 8, 2017

Simple, worthful, awesome!

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

### 󠀁[On every site](https://wordpress.org/support/topic/on-every-site-3/)󠁿

 [wasanajones](https://profiles.wordpress.org/wasanajones/) 18 Tháng 6, 2017

thanks for this essential plugin

 [ Đọc tất cả 7 đánh giá ](https://wordpress.org/support/plugin/text-spinner/reviews/)

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

“Text Spinner” 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

 *   [ Hassan Akhtar ](https://profiles.wordpress.org/khaxan/)
 *   [ WPGurus ](https://profiles.wordpress.org/wpgurus/)

[Dịch “Text Spinner” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/text-spinner)

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

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

## Nhật ký thay đổi

#### 1.3.0

 * Added caching for performance

#### 1.2.0

 * Checked compatibility with WordPress 4.9

#### 1.1.0

 * Checked compatibility with WordPress 4.7

#### 1.0.0

 * Checked compatibility with WordPress 4.6

#### 0.1

 * Initial release

## Meta

 *  Phiên bản **1.3.0**
 *  Cập nhật lần cuối **7 năm trước**
 *  Số lượt cài đặt **1.000+**
 *  Phiên bản WordPress ** 2.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.2.24**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/text-spinner/)
 * Thẻ
 * [seo](https://vi.wordpress.org/plugins/tags/seo/)[spinner](https://vi.wordpress.org/plugins/tags/spinner/)
   [spintax](https://vi.wordpress.org/plugins/tags/spintax/)[text spinner](https://vi.wordpress.org/plugins/tags/text-spinner/)
   [wordpress seo](https://vi.wordpress.org/plugins/tags/wordpress-seo/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/text-spinner/advanced/)

## Đánh giá

 3.9 trên 5 sao.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/text-spinner/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/text-spinner/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/text-spinner/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/text-spinner/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/text-spinner/reviews/?filter=1)

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/text-spinner/reviews/)

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

 *   [ Hassan Akhtar ](https://profiles.wordpress.org/khaxan/)
 *   [ WPGurus ](https://profiles.wordpress.org/wpgurus/)

## 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/text-spinner/)

## Ủ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://wpgurus.net/text-spinner)