Skip Navigation

[Resolved] I want to use spin text to keep changing content below locations taxonomy.

This thread is resolved. Here is a description of the problem and solution.

Problem:

Display one random text from an array {a|b|c|d} in taxonomy archive page.

Solution:

There isn't such a built-in feature within Toolset, I suggest you try to setup some custom codes, for example, create a custom shortcode, and output the random text from the array.

Relevant Documentation:

https://codex.wordpress.org/Function_Reference/add_shortcode

This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by simranjeetS-2 5 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1172203

I am trying to: I want to use spin text to keep changing content below locations taxonomy.

Link to a page where the issue can be seen: on all locations pages on website. I know I can use description to get unique content. But I want to go a step further and get unique and spun (changed) content each time a location page is opened. Is it possible with toolset? I mean : show me either {a|b|c|d} on a particular location page.

I expected to see: spin text

Instead, I got:static text

#1172205

Hello,

Please elaborate your question with more details?

What is the "spin text"? Is there any demo/example we can see?

How do you setup the "spin text" source? is it a custom field?

Where do you want to display the "spin text"? please point out the problem page URL, thanks

#1172207

Hi
Spin text means text which changes. Example

I love {a|b|c} because of {x|y|z}

Will give outputs like

I love a because of y
Or
I love b because of x

And the like

Spin text is a term used in SEO to create unique content. I want toolset to show unique content each time a taxonomy page reloads.

#1172208

I assume you are going to display one random text from an array {a|b|c|d} in taxonomy archive page.

If it is, there isn't such a built-in feature within Toolset, I suggest you try to setup some custom codes, for example, create a custom shortcode, and output the random text from the array.

More help:
https://codex.wordpress.org/Function_Reference/add_shortcode

Then put the custom shortcode into the taxonomy archive page to display the random text.

#1172259

Thank you!