Separator at RelatedTerm

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
Author Posts
May 27, 2013 at 1:40 pm #3081
aguko
Post count: 43

Can I separate each with separators (comma etc.) to display two or more terms by RelatedTerm?

https://www.masterpressplugin.com/docs/developer/methods/mpft-related-term-terms

May 28, 2013 at 10:46 am #3091
traversal
Post count: 207

Hey there, if you’re trying to display a comma-separated list of the names of the taxonomy terms in a Related Term field, you can do something like this:

http://pastebin.com/SZnrhq8M

This is because for Related Field terms that support multiple items, you can call on any of the methods in the WOOF_Collection class for the collection of terms entered into the field:

https://www.masterpressplugin.com/docs/developer/classes/woof-collection

May 28, 2013 at 2:05 pm #3092
aguko
Post count: 43

Thanks!
I succeeded!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Latest From the Blog

Ability to deactivate licence domains within MasterPress account management

25th October 2024

We have just rolled out an account management feature which allows licence holders to have better control over the domains that use their licence key. From the MasterPress Account Management page, the list of Active Sites that use your licence now includes a function that allows you to remove a domain from your licence. Simply… 

Plugin Requirements

MasterPress requires a minimum of WordPress version 4.9, MySQL 5.6, and PHP version 5.6.20.

We also recommend that PHP is configured to use a memory limit of 64MB per request (128MB may be required for sites with higher complexity).

This plug-in is not compatible with the WordPress.com hosted service.

Three AM