Skip Navigation

[Resolved] How to add HTML to a Block designed Content Templates

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

Problem:
How can we add custom HTML to a Content Template designed with Block?

Solution:
You can use a Text and Fields Block, and in that block, switch to the HTML tab.

This support ticket is created 4 years, 8 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
- - 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 GinaM9227 4 years, 8 months ago.

Assisted by: Beda.

Author
Posts
#1598297
Using_links_inside.jpg
Using_links_inside2.jpg

Tell us what you are trying to do?

I have a new Content Template created using Blocks. I would like to insert a link inside a Fields and Text container but cannot do it.

However, it was possible do do in the the Old Content Template created by Classic Editor. If it was possible to do on the Old Template, can you show me how to recreate the same?

Is there any documentation that you are following? See the 2 examples of the Old Template and the New Template.

Is there a similar example that we can see? See attached

What is the link to your site? hidden link

#1599029

That is a ShortCode block, it is not intended for Conditionals or Links

You can add Conditionals with the Conditional Block
Then, inside that, you can add for example a Fields and Text Block. In there, you can add HTML, ShortCodes and plain text all in one.

Does this help?

#1599077

Can you show me an example of how to add HTML inside a Fields and Text Block? I tried and it won't let me..

#1599083
Bildschirmfoto 2020-04-24 um 18.48.56.png

This could be because, as elaborated, you use the ShortCodes block

The Fields and Text Block is another (toolset) block.
It has an HTML tab where you can write "Code" in it

I have added a Screenshot, does this help?

#1599885

My issue is resolved now. Thank you!