Skip Navigation

[Résolu] CRED Form: Only show taxonomy terms created by current user

This support ticket is created Il y a 4 années et 10 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. 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 réponses, has 2 voix.

Last updated by davidS-53 Il y a 4 années et 10 mois.

Assisted by: Minesh.

Auteur
Publications
#1256729

I have a custom taxonomy called "location". In a CRED form, is it possible to only list out the "locations" that the current user has created? Something equivalent/behaving similarly to author="$current"?

If not, would you have any suggestions as to how to achieve that? Perhaps a custom field that stores the user ID of whoever created it, and filter the select field based on that? Any tips would be appreciated.

#1256947

Minesh
Supporter

Languages: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

Well - there is no option available to display the current author terms. You are welcome to submit the feature request for the same:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

However, if you know how to grab the IDs of current user terms, you may try to delete it using the custom JS code. Please check the following link:
=> https://toolset.com/forums/topic/exculde-one-category-from-search-seect-menu/#post-528289
(This is not a complete solution but at least you will get idea how you can delete it using custom JS code)

#1257581

Thanks Minesh, that looks like it should do just fine.

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