Link
Last updated
Last updated
The Link field type (e.g. ACF Link field) allows a link to be selected or defined (url, title, target) by using the native WordPress link popup.
Select the Link field from the Field list. You can add a label as a prefix and a Link Label to replace the default label.
Use a Relational field to 'link' two Custom Post Types (CPT) together. Combine it with a Meta Filter (Pro) to display related content.
You can wrap any image into the link. This well-known technique provides a visual representation, allowing readers to click on the image to open a specified URL.
Make sure both image and link fields are added to the target View, and amend the template to put the img tag inside the a tag, as shown below:
Whether the link field points out on the external or internal URL, you can display it directly on the page using the <iframe> element: