Skip Navigation

[Resolved] show_ui shouldn’t be required to use with Post Fields

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to create repeating field groups, but I would prefer not to show a post type in wp-admin to contain these repeating field groups.

Solution: The newest releases of Toolset plugins include a new featured called Repeating Field Groups, which do not appear as a post type in wp-admin.

Relevant Documentation:
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/

This support ticket is created 6 years, 7 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by Christian Cox 6 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#904656

I am trying to: create repeating fields

Link to a page where the issue can be seen: n/a

Created a post type that is to ONLY be used for purposes of Repeating Fields (i.e. is a child of another post type).
Set "show_ui" to false, along with pretty much everything else.
Went to create Post Fields for this hidden post type and couldn't select it.
I believe this is a bug because it shouldn't only select post types where "show_ui" is true. I do not want to see the post type in the wp-admin UI, only as a repeating field when editing another post type.

#904673

Hi, if you're using the new plugin Release Candidates where you can create Repeating Field Groups (RFGs), then there is no need to create a new Post Type to hold the RFGs. They will not appear as a separate post type, only as a field group within any existing post type(s) you choose.

If you're not using the new plugin Release Candidates, please stand by because we are very close to releasing the M2M updates that we've been planning for quite a while now. Final QA is underway, which means the release will happen in a manner of days. The new plugins include updated Repeating Field Groups, which can be used like you're describing, without showing up as separate post types in the admin area. I invite you to check out the Release Candidates if you have not yet done so by going to https://toolset.com/account/downloads and switching to the beta plugins channel.

https://toolset.com/2018/02/types-views-and-cred-betas-with-post-relationships-and-repeating-field-groups/
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/

#904728

Sweet. Thanks for that heads up. I tried the beta and much better UI to setup. 🙂

FYI: I got this console error (hidden link) at

/wp-admin/admin.php?page=types-field-control&domain=posts

Should I be using Beta version of Views and Layouts if I have those installed as well?
(Just started building a new web app so this is perfect timing as I haven't even created a View or Layout yet.)

#904959

Well would you look at that... new versions! Very nice timing; what a blessing.

FYI: The latest entry at https://toolset.com/download/toolset-views/#changelog has some typos:

  • forinerting data
  • should this be in CRED's changelog instead of in Views'? -- "Fixed an issue with the cred-form-message shortcode when redireting (typo) to a page after submitting a CRED form."
  • wpv-post-ield shortcode
#905527

Yes if you update any of the plugins you should update all of the plugins for best results. Thanks for the report on the spelling errors, I will pass those along to the documentation team.