Skip Navigation

[Gelöst] How to create a new custom field type

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.

This topic contains 2 Antworten, has 2 Stimmen.

Last updated by Kristin vor 6 Jahre, 3 Monate.

Assigned support staff: Minesh.


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!



Languages: Englisch (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.


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.