2020-11-23 06:10:05

Related Docs

Do You Need Help or Expertise?

Is editing Source Code not Your Thing? Are you in a tight Time Schedule and need to deliver a fully scalable and safe solution fast to your Clients?

Maybe you want to incorporate the Software found on TukuToi unbranded and royalty free in your Clients Projects after customizing it as per your Projects requirements?

Or eventually you need some training on any WordPress Plugin, Theme or their creation and maintenance?


ShortCode to display different WordPress Taxonomy Term data

The [tws_get_term] ShortCode allows to get and display any term data by any term field supported by the WP Term Object. It allows to output the data in Human Readable and sanitised format or comma separated.

It’s very helpful when you want to display for example data of a Taxonomy Term outside a Toolset View, or Archive, or on a different Archive than currently shown.
It can be used in conditionals and to build custom Links to archives as well, when mixing with Toolset ShortCodes it becomes even more powerful as the inner shortcodes will be expanded, hence you can populate attributes dynamically.


  • fieldstring [term field to find by]
  • valuemixed [value to scan field for]
  • taxonomystring [taxonomy name]
  • outputstring [what object property to output]
  • filterstring [how to filter output]


//get term archive url by term ID
[tws_get_term field="term_id" value="1" taxonomy="categery" output="archive-url" filter="raw"]
//display term description by term slug
[tws_get_term field="term_name" value="the-term" taxonomy="gender" output="description" filter="display"]
//get post count of term by ID
[tws_get_term field="term_id" value="33" taxonomy="brands" output="count" filter="raw"]