Skip Navigation

[Resolved] Checkboxes with images

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

Problem:
How to use images such as flags as checkboxes labels?

Solution:
When you set up your Types checkboxes fields, the Title field accepts HTML. So you can add img tags with the appropriate src attribute, or you could directly include svg tags with the flag icons etc., depending on the source of your images.

This support ticket is created 6 years, 7 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.

Our next available supporter will start replying to tickets in about 7.48 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by adrianR-3 6 years, 7 months ago.

Assisted by: Nigel.

Author
Posts
#637520
example.gif

I am wanting to create a new WP directory site to replace my Joomla site that uses the Mosets Tree plugin.

I want to use toolset types checkboxes to add language, payment methods and currency fields with images

For example I would like to have language fields eg English, Spanish, German, Italian which I can then tick off in a directory listing but show flag images rather than text. See the attached image for example

Is this possible with Toolset?

#637842

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Adrian

When you set up your Types checkboxes fields, the Title field accepts HTML. So you can add img tags with the appropriate src attribute, or you could directly include svg tags with the flag icons etc., depending on the source of your images.

#661099

Thank you that works!