Skip Navigation

[Resolved] Types Field Title

This support ticket is created 5 years, 5 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 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#1261655

I have this on a WordPress page, [types field='majors-social-sciences' separator=' '][/types], and this field is a checkbox field. It shows all the items checked, so that is working, but I would like for it to show the title, in this case Social Science. I've tried every combination I can think of, and I've searched for an answer but I just can't find it. I'm sure its easy, but I just can't find the answer. Is there a way to have the title show without just typing it out as a head?

#1261785

Hello,

I assume you are going to display the custom checkboxes field's option value: "Field name".
If it is, there isn't such a built-in feature within Toolset Types plugin, see our document:
https://toolset.com/documentation/customizing-sites-using-php/functions/#checkboxes

in most case, you will need to display the "Field name" using static text, for example:

Social Science: [types field='majors-social-sciences' separator=' '][/types]