Skip Navigation

[Resolved] links on Fields and text doesn't work properly

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by marF 1 year, 4 months ago.

Assisted by: Minesh.

Author
Posts
#2518783
Captura de Pantalla 2022-12-19 a les 17.24.42.png

Hi!

I'm use a html Fields and Text (I have installed pre-release version of Toolset Blocks 1.6.4). And use this code:

<p>[types field='instagram' title='<i class="fa-brands fa-instagram"></i>' target='_blank'][/types]</p>
<p>[types field='facebook' title='<i class="fa-brands fa-facebook"></i>' target='_blank'][/types]</p>

This code should show instagram and facebook icon with a link coming from a custom field but it shows like the attached image.

How can this be fixed?

Thanks!

#2519475

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

What if you try to use the following code and check if that help you to resolve your issue:

<a href="[types field="instagram" output="raw"][/types]" target='_blank'>
<i class="fa-brands fa-instagram"></i> 
</a>
<a href="[types field="facebook" output="raw"][/types]" target='_blank'>
<i class="fa-brands fa-facebook"></i> 
</a>
#2519615

Hi Minesh,

it doesn't work. Now I see only the icons correctly, but the link not work. This is the link that your code open: hidden link

Let me know. Thanks!

#2519623

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

What if you try to use the following solution:

<a href="[types field='instagram' output='raw'][/types]" target='_blank'>
<i class="fa-brands fa-instagram"></i> 
</a>
<a href="[types field='facebook' output='raw'][/types]" target='_blank'>
<i class="fa-brands fa-facebook"></i> 
</a>

This should work. 
#2519641

Thanks Minesh!! My issue is resolved now.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.