Skip Navigation

[Resolved] Trying to figure out why a field isn't displaying.

This support ticket is created 5 years, 1 month 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 4 replies, has 2 voices.

Last updated by davidV-13 5 years, 1 month ago.

Assisted by: Beda.

Author
Posts
#1604923
screenshot2.jpg
screenshot1.jpg
screenshot.jpg

Hi, I am trying to figure out why a field isn't displaying in the post information I set up on a toolset view. In my custom post type called lessons, I added posts and everything shows up great. Recently like today. I tried adding a new post and the information for the field "Subject" isn't showing up. It shows up for older posts that I published before today but not for posts that I publish now. It's really weird and I can't figure out why. Can you help me by looking at my wordpress admin and tell me what did I miss?

#1605005

Here is the link: hidden link

#1605283

I just checked the output of checkboxes Fields with Toolset (blocks) and they work great (I used a Single Field Block)

I think I'll need to know:
- how you store that field (is it saving 0, or nothing when not checked? What values does it save?)
- how you display the field (block, HTML/shortcodes? I think you use a Single Field Block too, here?)

Maybe if I can log in, I can see this better and try to replicate locally
Also, since you mention the issue appeared recently maybe you can test without other plugins but Toolset and a native WordPress Theme?
This will exclude any issues coming from eventual third party plugins/themes/updates.
I suggest doing this on a staging site or/and after a good backup

#1606677

The issue is due that you have a ShortCode like this in the editor:

[types field='subject'][/types]

But that's wrong, the GUI produces

[types field='subjects'][/types]

The Slug of your field is "subjects", not "subject", this can also be seen here hidden link

I've already changed it on your site in the View and it works now.

#1607481

You fixed it! Thanks soooo much! i would have never guessed that's what it was. Thanks for your help.