Title: Text Spinner
Author: Hassan Akhtar
Published: <strong>March 6, 2014</strong>
Last modified: May 24, 2019

---

Search plugins

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

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/text-spinner/assets/icon-256x256.png?rev=1538019)

# Text Spinner

 By [Hassan Akhtar](https://profiles.wordpress.org/khaxan/)

[Download](https://downloads.wordpress.org/plugin/text-spinner.1.3.0.zip)

 * [Details](https://test.wordpress.org/plugins/text-spinner/#description)
 * [Reviews](https://test.wordpress.org/plugins/text-spinner/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/text-spinner/#installation)
 * [Development](https://test.wordpress.org/plugins/text-spinner/#developers)

 [Support](https://wordpress.org/support/plugin/text-spinner/)

## Description

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).

## Installation

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

## FAQ

  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.

## Reviews

![](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/) June 9, 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/) March 27, 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/) December 30, 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/) September 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/) August 23, 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/) June 18, 2017

thanks for this essential plugin

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/text-spinner/reviews/)

## Contributors & Developers

“Text Spinner” is open source software. The following people have contributed to
this plugin.

Contributors

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

[Translate “Text Spinner” into your language.](https://translate.wordpress.org/projects/wp-plugins/text-spinner)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/text-spinner/), check
out the [SVN repository](https://plugins.svn.wordpress.org/text-spinner/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/text-spinner/) by
[RSS](https://plugins.trac.wordpress.org/log/text-spinner/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

 *  Version **1.3.0**
 *  Last updated **7 years ago**
 *  Active installations **1,000+**
 *  WordPress version ** 2.5 or higher **
 *  Tested up to **5.2.24**
 *  Language
 * [English (US)](https://wordpress.org/plugins/text-spinner/)
 * Tags
 * [seo](https://test.wordpress.org/plugins/tags/seo/)[spinner](https://test.wordpress.org/plugins/tags/spinner/)
   [spintax](https://test.wordpress.org/plugins/tags/spintax/)[text spinner](https://test.wordpress.org/plugins/tags/text-spinner/)
   [wordpress seo](https://test.wordpress.org/plugins/tags/wordpress-seo/)
 *  [Advanced View](https://test.wordpress.org/plugins/text-spinner/advanced/)

## Ratings

 3.9 out of 5 stars.

 *  [  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)

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

[See all reviews](https://wordpress.org/support/plugin/text-spinner/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/text-spinner/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://wpgurus.net/text-spinner)