Skip Navigation

[Resolved] Create hyperlink from 2 custom fields

This support ticket is created 3 years, 10 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
- 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 2 replies, has 2 voices.

Last updated by mashaB 3 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#2108015

Tell us what you are trying to do?
I have 2 custom fields:
1. Article publisher name
2. Article external URL

On our website we provide translation for that article and have to provide article source. How do I construct a hyperlink text from these 2 dynamic sources?

Is there any documentation that you are following?
Checked available toolset tutorials

Is there a similar example that we can see?
No

What is the link to your site?

#2108141

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

To construct the hyperlink using the custom field you should add a classic block or fields and text block and add the shortcode to display the Article publisher name and Article external URL.

For example - something as given under:

<a href="[types field='external-url'][/types]"> [types field='publisher-name'][/types] </a>

#2112457

My issue is resolved now. Thank you!