{"id":28234,"date":"2014-03-06T03:15:15","date_gmt":"2014-03-06T03:15:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/text-spinner\/"},"modified":"2019-05-24T02:28:05","modified_gmt":"2019-05-24T02:28:05","slug":"text-spinner","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/text-spinner\/","author":5709592,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.0","stable_tag":"1.3.0","tested":"5.2.24","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Text Spinner","header_author":"WPGurus","header_description":"","assets_banners_color":"343434","last_updated":"2019-05-24 02:28:05","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/wpgurus.net\/text-spinner","header_plugin_uri":"https:\/\/wpgurus.net\/text-spinner","header_author_uri":"https:\/\/wpgurus.net\/","rating":3.9,"author_block_rating":0,"active_installs":1000,"downloads":27273,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":2,"2":0,"3":0,"4":0,"5":5},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1538019","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1538019","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1538019","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","1.0.0","1.1.0","1.2.0","1.3.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[186,9622,47760,60525,475],"plugin_category":[43,55],"plugin_contributors":[149864],"plugin_business_model":[],"class_list":["post-28234","plugin","type-plugin","status-publish","hentry","plugin_tags-seo","plugin_tags-spinner","plugin_tags-spintax","plugin_tags-text-spinner","plugin_tags-wordpress-seo","plugin_category-customization","plugin_category-seo-and-marketing","plugin_contributors-wpgurus","plugin_committers-khaxan","plugin_committers-wpgurus"],"banners":{"banner":"https:\/\/ps.w.org\/text-spinner\/assets\/banner-772x250.png?rev=1538019","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/text-spinner\/assets\/icon-128x128.png?rev=1538019","icon_2x":"https:\/\/ps.w.org\/text-spinner\/assets\/icon-256x256.png?rev=1538019","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This tiny plugin allows you to use spintax like <code>{phrase 1|phrase 2|phrase 3}<\/code> 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 <code>wpts_spin()<\/code> and echo the returned value.<\/p>\n\n<p>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.<\/p>\n\n<p>Nested spintax like <code>{phrase 1|phrase 2|{sub-phrase 1|sub-phrase 2|sub-phrase 3}}<\/code> is also supported by the plugin.<\/p>\n\n<p><strong>Example 1:<\/strong><\/p>\n\n<p><em>Shortcode:<\/em><\/p>\n\n<pre><code>[wpts_spin]{phrase 1|phrase 2|phrase 3}[\/wpts_spin]\n<\/code><\/pre>\n\n<p><em>Function:<\/em><\/p>\n\n<pre><code>&lt;?php wpts_spin('{phrase 1|phrase 2|phrase 3}'); ?&gt;\n<\/code><\/pre>\n\n<p><em>Sample Output:<\/em><\/p>\n\n<ul>\n<li>phrase 1<\/li>\n<li>phrase 2<\/li>\n<li>phrase 3<\/li>\n<\/ul>\n\n<p><strong>Example 2 (Nested Spintax):<\/strong><\/p>\n\n<p><em>Shortcode:<\/em><\/p>\n\n<pre><code>[wpts_spin]{phrase 1|phrase 2|{sub-phrase 1|sub-phrase 2|sub-phrase 3}}[\/wpts_spin]\n<\/code><\/pre>\n\n<p><em>Function:<\/em><\/p>\n\n<pre><code>&lt;?php wpts_spin( '{phrase 1|phrase 2|{sub-phrase 1|sub-phrase 2|sub-phrase 3}}' ); ?&gt;\n<\/code><\/pre>\n\n<p><em>Sample Output:<\/em><\/p>\n\n<ul>\n<li>phrase 1<\/li>\n<li>sub-phrase 2<\/li>\n<\/ul>\n\n<p><strong>Example 3 (Caching):<\/strong><\/p>\n\n<p><em>Shortcode:<\/em><\/p>\n\n<pre><code>[wpts_spin cache=\"604800\"]{phrase 1|phrase 2|phrase 3}[\/wpts_spin]\n<\/code><\/pre>\n\n<p><em>Function:<\/em><\/p>\n\n<pre><code>&lt;?php wpts_spin( '{phrase 1|phrase 2|phrase 3}', array( 'cache' =&gt; '604800' ) ); ?&gt;\n<\/code><\/pre>\n\n<p><em>Sample Output:<\/em><\/p>\n\n<p>Same as Example 1 but the output will be cached for a week (604800 seconds).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Use WordPress' plugin installer to install the plugin.<\/li>\n<li>Use the shortcode [wpts_spin] in posts or pages.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How deep can the nesting be?<\/dt>\n<dd><p>It can be as deep as you like. However a nested string might take more time to be processed.<\/p><\/dd>\n<dt>The same content is appearing on every page load. What could be the problem?<\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Added caching for performance<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Checked compatibility with WordPress 4.9<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Checked compatibility with WordPress 4.7<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Checked compatibility with WordPress 4.6<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Allows you to use spintax in your posts, pages and theme files","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=28234"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/khaxan"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28234"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28234"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28234"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28234"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28234"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}