Custom Field URL – Display Link Text

Posted in: Newspaper
Post count: 23

I am using a custom field that contains urls to display an external website url that relates to a post topic. I have done this using the custom fields element and calling the custom field containing the URL. While it works, it displays the full url, this is not ideal as the urls get quite long. Is there a way to change the url to display link text instead of the entire URL or to embed the custom field url into an image with a hyperlink instead. I don’t see any option for this in the custom field element.

Post count: 23

I found a solution to this using two custom fields one for the URL and the other for the link text.

Post count: 27744

Hi,

I’m glad that you found the solution.
Another solution is to use the element button and set the custom field there -> https://i.imgur.com/ZGYBjfE.png. You need to use {cf_nameoffield} -> https://i.imgur.com/F2ysuLA.png

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.