Title: Text Spinner
Author: Hassan Akhtar
Published: <strong>6. marts, 2014</strong>
Last modified: 24. maj, 2019

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Text Spinner

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

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

 * [Detaljer](https://da.wordpress.org/plugins/text-spinner/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/text-spinner/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/text-spinner/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/text-spinner/#developers)

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

## Beskrivelse

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.

## Anmeldelser

![](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. juni, 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. marts, 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. december, 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. september, 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. august, 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. juni, 2017

thanks for this essential plugin

 [ Læs alle 7 anmeldelser ](https://wordpress.org/support/plugin/text-spinner/reviews/)

## Bidragsydere & udviklere

“Text Spinner” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “Text Spinner” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/text-spinner)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/text-spinner/), tjek
[SVN repository](https://plugins.svn.wordpress.org/text-spinner/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/text-spinner/) via [RSS](https://plugins.trac.wordpress.org/log/text-spinner/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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**
 *  Senest opdateret **7 år siden**
 *  Aktive installationer **1.000+**
 *  WordPress-version ** 2.5 eller højere **
 *  Testet op til **5.2.24**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/text-spinner/)
 * Tags
 * [seo](https://da.wordpress.org/plugins/tags/seo/)[spinner](https://da.wordpress.org/plugins/tags/spinner/)
   [spintax](https://da.wordpress.org/plugins/tags/spintax/)[text spinner](https://da.wordpress.org/plugins/tags/text-spinner/)
   [wordpress seo](https://da.wordpress.org/plugins/tags/wordpress-seo/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/text-spinner/advanced/)

## Bedømmelser

 3.9 ud af 5 stjerner.

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

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/text-spinner/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://wpgurus.net/text-spinner)