Skip Navigation

[Resolved] Sort View by Taxonomy

This support ticket is created 6 years, 11 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 19 replies, has 2 voices.

Last updated by Luo Yang 6 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#517667

Since it is a custom PHP codes question, I need to check it in your website, and will feedback if there is anything found

#517673

Luo,

When I removed the default value for the custom field, the above function worked perfectly.

The only issue I have now is changing the value of the custom field on existing posts that have the default value saved in the database. I tried to use the edit form for the CPT in hopes that the existing function would update the value, but unfortunately it didn't change anything. I've also tried editing on the backend by deleting the default value and then updating the post, but again the default value still shows.

#517681

Please create new thread for the new question:
The only issue I have now is changing the value of the custom field on existing posts that have the default value saved in the database
If you need to use CRED form to update the custom field in front-end, you can simply create a CRED form for editing the post, create custom PHP codes, use action hook "cred_save_data" to update the custom field "wpcf-full-record-date" value.
https://toolset.com/documentation/programmer-reference/cred-api/#csd

If you need to update the custom field "wpcf-full-record-date" value in admin side, you can try wordpress action hook "save_post":
https://codex.wordpress.org/Plugin_API/Action_Reference/save_post

#517691

Thank you Luo. I am working on those suggestions now.

#517753

OK, please update this thread if you need more assistance. thanks

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