Home › Toolset Professional Support › [Resolved] Fields and Text – Can't see field name?
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.
This topic contains 7 replies, has 2 voices.
Last updated by Christopher Amirian 1 year, 3 months ago.
Assisted by: Christopher Amirian.
In a Fields and Text block, when you add the field with the View button, you choose from the available fields. Great. But after you do that, you can't see the name of the field after the text. I can see there is a field there because it says Loading and the orange underline is there but it's blank and you can't see the name of the field. Surely there is a way to see which field is in that spot without switching to HTML mode?
Also, in the expanded view on the left showing the blocks. where you see the containers and blocks like Fields and Text, how do you give each block a name so you know what it is? 20 Fields and Text one after another does no good to be able to know which is which. If I add the name to the ID field on the right, it doesn't show up in the block list on the left. How do you name/identify the blocks on the left?
Hi there,
I checked the Fields and Text on a minimal installation with the latest version of Toolset and the text of the field shows after the Loading ...
Would you please test it on this installation and see if it works as you expected?
hidden link
If yes, then you will need to see why this is happening on your installation, and here are possible testing points:
Update Toolset
Make sure Toolset is updated by going to WordPress Dashboard > Plugins > Add New > Commercial (tab).
Click the "Check for updates" button and if you see newer versions, select them and download and activate them.
Check for a possible plugin conflict
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Toolset plugins.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
----------------
Regarding the second question, it is not possible due to the fact that such a feature is not implemented in the WordPress block editor.
You can test with default WordPress blocks and you also can not rename them on that left pane.
Thanks.
Thanks.
The problem is the same in your sandbox. See screenshot.
On your end do you see anything on that orange line indicating there is a field there?
Also is there any way to make the fields and text block not add p tags? In Generate Blocks for example it gives you the option of making a block a div rather than a p so you don't get those p tags.
As for the second question-
One workaround is to each block in a Generate blocks container, and that lets you name it so at least you have a way to know what's what with tons of blocks. Kadence Blocks has a way you can add an id to it which lets it show a name as well.
Hi there,
I could not replicate the screenshot you gave, for me it is working ok. Please create a new page and save the result there and get back to us with the link of the page so we can double-check.
Also, for the Fields and Text please consider it as a wysiwyg editor, so it will create P tags if you click the enter button on the keyboard.
There is no option to add DIV instead of P tag.
Toolset also has Container block that you can use, also Toolset does not restrict you to use the Generate block containers if it is something that helps you. You will be able to add Toolset specific blocks inside the Generate block if you are comfortable with that method.
Inside the container element of Toolset, you can select which HTML element you want it to be and add ID and Classes in HTML code. It will not change the naming in the left pae tree view though.
Thanks.
It's happening in your sandbox as well as my site for me.
hidden link
See screenshots. I see that the color should be black but nothing shows up above the orange line for me.
Hi there,
Thank you for the screenshot, it depends on what you select for the dynamic data to show. If there is no result for that data then it will show empty like the one you mentioned in the screenshot.
But if it returns a value, it shows the value.
For example, on the same page I used the NAME field for the current user. As the test site did not have the Name field filled in Users > Profile, it showed empty.
But as soon as I added my name there, the field showed the correct value.
So the question is what you have used as dynamic data there and what was the actual value for that option.
Thanks.
On the link I sent you from your sandbox, I would assume you have data in your dummy data?
On my site, it's on a template calling data from a custom post type where there is data in the individual posts.
In both cases it says Loading but then is not visible other than the underline.
You said there is no way to make fields and text not be a paragraph but if it adds the p tags then there is unwanted space around field and text items. I went into the html for each field and text block and removed the p tags and then the spacing is fine, without the extra space above and below the item. Surely there is a better way to do that? Are you saying that any time you use a fields and text item, as say opposed to a single field item, you are stuck with extra p tag space around each item unless you manually go in and remove the p tags from the html?
Hi there.
In the example that you have mentioned you used the Phone Number field.
The phone number is for the Agent custom post type, but you used the field inside a page.
It is natural that it will not show anything as there is no custom post type in that context to show the field of.
If you use the same field inside the edit screen of an Agent, then it will show the phone number.
Alternatively, in the wizard that pops when you want to add a phone number inside a page, you can select the post ID of an agent to show the phone number of that specific agent.
Regarding the second question, that is exactly what I say. P is printed.
If you are interested in turning off the P tags you need to tell your WordPress installation to not add automatic Ps inside an Editor.
Here is how to do so:
https://developer.wordpress.org/reference/functions/wpautop/
Thanks.
Ok thanks, I see. So when you are on a template (page), because the field is related to a custom post type, it won't display it. Got it. It's hard to tell what it is, you have to go look at i in the html. But that makes sense, I get it now, thanks.
As for the p tag thing, ah got it. Ok thanks.