Skip Navigation

[Resolved] how to add anchor text to url field value

This support ticket is created 5 years 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by jesseS-4 5 years ago.

Assisted by: Christian Cox.

Author
Posts
#1670079

Tell us what you are trying to do?
I have a form with a URL field and I don't really want to display the huge long calendar link. How can I add anchor text to the URL to display on the front end post?

Is there any documentation that you are following?
no
Is there a similar example that we can see?

What is the link to your site?
hidden link

#1671471

Hi, it depends on what you want to display on the front-end post. I'm not clear from your description what you're planning - do you want to display something static (identical for all posts), or do you want this text to be dynamic (different for each post)? If you need to capture dynamic link text, then you need another custom field in your Form specifically for that text. Your site Users would enter their own custom text, and you will use that in the template as the link text. If you want something generic for all posts, then you can simply specify that in the template for your custom posts, and there's no need for a second custom field. Which do you prefer, and have you set up the template for this post type yet?

#1672743

Hi Christian,

Ya, I did have my template set up. I see now how to add in the text for the link!
I just needed something generic.

Thank you,
Jesse