In Blocks I'm wanting to concatenate two types fields, but it always add a paragraph between them. That's not what I want. I want the data from field A to be part of the same sentence with data from field B.
Here's what I did:
1. Added a Toolset Container
2. Added a fields and text element and with it two fields
3. I use the fields selector to choose the two fields
It doesn't matter if I output raw or not. No matter how I do it a paragraph is inserted between them.
Hello. Thank you for contacting the Toolset support.
That is strange. Can you please share the problem URL where you want to display the concatenating Types fields as well as access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Minesh,
I have no interest in sharing my website with your team. Sorry. And I feel that you may be overthinking this. It's really a simple issue and I've given you the exact steps above to replicate it. Have you done so? Sending you an entire site (which I don't want to do anyway) would be overkill.
Create a WordPress page. Insert a Toolset Fields and Text block. Add a custom field. type some text. Add another custom field. Does it add a paragraph between the two custom fields or is all one sentence on the same line.
In a content template, there is (or used to be) an option to not auto insert paragraphs. I didn't see such an option with blocks as described above. Is this a bug. I don't think there's anything special about my setup. I'm using the Astra theme which is compatible both with blocks and toolset.
I try to run a test and created a new content template using blocks and added the container block and within the container block I've added "Fields and Text" block where I've added some text as well as few custom fields.
Yes, it adds the P tag when you add a new field but the workaround would be you should switch to the "HTML" mode and remove the P tags from your content and wrap all the code with [wpv-noautop] shortcode. Please check the following screenshot:
=> hidden link