Skip Navigation

[Resolved] Reuse custom fields in multiple group fields

This support ticket is created 4 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 – 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: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 4 years ago.

Assisted by: Jamal.

Author
Posts
#2150801

Thank you Jamal.

Thank you for your patience and detailed response. You are fantastic.

Deleting the item from the database has fixed the issue. I can now add RFGs to my view block in my Content template.

I will take the time, using your explanation, to become more familiar with using views and RFG's.

On a related but slightly separate issue. Is it ok to or is it not recommended to use the same custom field in more than one Post Field Group (using ADD NEW FIELD >> 'Choose from previously created fields" option) ? For example i have a custom post type for "academic courses" and one for 'CME Courses". Some of the custom fields I created for Academic courses are suitable for use on CME courses. Can I use them for CME Courses? or will that cause issues?

Also,
As this is my first time using Toolset and custom post types it has been a learning Curve for me. Over the last few weeks I created many Custom fields, deleted many, edited many and edited many Slugs. Is there a fear that my database is full of junk? and if so how do i clean it out safely?

#2150809

Of course, you can reuse custom fields in multiple Fields groups that are assigned to different post types. That's the reason behind this feature (Choose from previously created fields). You can reuse them in CME Courses and it won't cause any issues.

Toolset will take care of the database when changing fields slugs, or deleting custom fields. However, I don't know any procedure to clean the database. There are some 3rd parties out there that do this job, but I can't tell if any of them supports Toolset.
The only way I can think of, to clean up the database, is by exporting the data(Toolset elements, and the values), and then importing them on a new install. Honestly, I don't see any benefits, because database engines are meant to handle millions, even billions of records. So, I don't see any benefits from investing time and money in cleaning a new website(less than 1M records on the largest database table).