Skip Navigation

[Resolved] Custom fields in revisions

This support ticket is created 5 years 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Shane 5 years ago.

Assisted by: Shane.

Author
Posts
#1456067

Is there an option of including custom fields in revisions?
Something similar to: hidden link

Thanks,
Amir.

#1456245

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Amir,

Thank you for getting in touch. Unfortunately no its not possible to have the custom fields natively in the revisions using our Types plugin.

This is something that would need to be done using some 3rd party custom code like this below.
hidden link

Or you can try using the plugin in the github link below.
hidden link

If you're not sure of how to implement this as it will take a little PHP knowledge to do so, we have a list of developers that you can contact to get this setup for you.
https://toolset.com/contractors/

I haven't tested either of these solutions, however it is a step in the right direction to get this working for you.

Thanks,
Shane

#1468737

OK, I will take a look over the links you provided.

Please note that several of your competitors in the custom fields segment (ACF, PODS, metabox) have either integrated or third party plug and play solutions for including custom fields in revisions.

I think that it is a very useful feature and I've seen multiple threads in your forums seeking for that. Please consider this in your future releases.

Thanks,
Amir.

#1469393

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Amir,

What you can do is to go to the link below and submit the feature request so that our team responsible for this can bring it towards the development team.
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

However I do recommend that you explore the solution below.
hidden link

Thanks,
Shane

#1469415

Hi Shane,

I filed the feature request.
I also tried the solution on hidden link
I followed the directions and made the required PHP adjustments in the functions.php file but unfortunately, it did not work for me. It probably requires deeper code customization to get it to work.

#1471755

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Amir,

It could quite be possible that this is the case.

However an advise is that when you're adding the keys for our Toolset custom fields you would need add the "wpcf-" prefix to the custom field slug.

Thanks,
Shane

#1479273

Hi Shane,

Thanks again. I'm familiar with the 'wpcf-' prefix from an Essential Grid implementation we had in the past and I used it accordingly in this case.

If you are aware of any resource or contact that successfully implemented the Toolset Fields in revisions using the solutions you added before, I would be glad to know of them as it may provide me with specific guidance.

Thanks!
Amir.

#1480905

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Amir,

Unfortunately no i'm not aware of any specific solution that would work without any form of custom code.

You can also have a look here too
hidden link

Apart from this I cannot give a direct answer or advise since this isn't directly supported by the wordpress core.

Thanks,
Shane