Skip Navigation

[Resolved] How to create a new custom field type

This support ticket is created 8 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.

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

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Kristin 8 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#315241

I am trying to: create an iconpicker custom field type to be used as a new Types Custom Field

I can't seem to find any documentation on how to do this (I know PODS has great support for this kind of thing). Can you point me in the right direction? All I've found is an embedded filter: types_register_fields

Seems like this could be the place to start, however I'd rather not have to decipher everything from just reading the source code - a tutorial of some kind would be great. Thanks!

#315292

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello and thank you for contacting Toolset support.

To create a new type of custom field, we have give a tutorial how to do it. You should navigate to:
=> wp-content/plugins/types/embedded/includes/examples/google_map.php

This is example how to add simple Google Maps field type.

#315566

Wow, thanks. I couldn't find that example anywhere in the documentation. I recommend you make it easier to find and/or have an online tutorial.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.