이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Text Spinner

설명

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

설치

  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.

후기

2018년 9월 9일
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.
모든 7 평가 읽기

기여자 & 개발자

“Text Spinner”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Text Spinner”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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