New!

Introducing TranslatePress AI The fastest way to translate your WordPress Website

Learn More
0
Days
0
Hours
0
Minutes
0
Seconds

Last Chance Sale 25% OFF! Our only sale of the year ends soon!

Use Discount code BF2024 at Checkout. Bottom link

Documentation > Developers > Individual Strings Shortcode

Individual Strings Shortcode

Browse Docs
Search Documentation

By default, the strings are selected depending on the HTML elements wrapping them. If you are looking for a way to divide strings into individual content by wrapping a <span> tag around them, you can use the following plugin:

This custom plugin is useful for dividing strings into translatable parts in places where HTML commands are not allowed, but shortcode is.

For example, if you want to divide the string “Name: John” into individual the individual strings “Name” and “John” you can use the following shortcode command: [tp-individual-string content=”Name:”]. The custom plugin needs to be activated for this to work.