[Resolved] Fields not showing on content type tempate
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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I have added a page template for our Ride Leader content type. I am displaying 3 fields on this template. But when I go to any of the individual Ride Leader pages, none of the fields are displaying. I haven't needed help with something this basic before, so I'm baffled as to what I could be doing wrong here. Sorry to have to bug with you something that's normally this easy.
You can see one of the Ride Leader pages here:
hidden link
And this is the code that is saved on the Ride Leader template:
I think one needs to be logged in to see the page.
In any case, it would likely be helpful to be able to access the back end and check your template to see how it is set up to understand what should be output.
Would that be possible? (A staging server would be preferable.)
Let me mark your next reply as private so that we can get log-in credentials from you—you may want to create a temporary admin user for us to use that you can later delete. And be sure to have a current backup of your site.
Can you also confirm the url of where we can see the problem.
If you check the page source you'll see that the content is there on the screen, but it is hidden because you added a custom CSS rule to hide paragraphs within the Fields and Text block, it seems. See the screenshot.
Hmmm, thanks for figuring that out. Now this leads me to the difficulty of figuring out why I did that. I'm sure it was to hide something else that needed to be hidden, but remembering what it was might be difficult. I definitely see exactly what you found. But I'm not sure what element on the site would have made me set up display: none; for a <p> tag within fields and text. As such I'm hesitant to just remove that styling because I'm not sure what I'd be revealing at this point. I just removed the <p> tags in this output and it is displaying fine now. So I think I'll just make sure to avoid using <p> tags on this kind of output for now. If I find that I absolutely need them, then I'll have to track down what element previously developed caused me to do that. It doesn't make sense why I'd do it on fields and text paragraphs without making it more specific than that. I usually would add something to the classes to make what I'm hiding more unique. Oh well, that's for me to figure out later. Thanks for the assist here and glad it was something simple where I was being stupid. All resolved here.