For the complete documentation index, see llms.txt. This page is also available as Markdown.

Displaying Link field

The Link field type allows editors to select or define a link (url, title, target) by using the native WordPress link popup.

Advanced Views natively supports the following link types:

  1. WordPress: TitleWithLink, AttachmentWithLink, TermNameLink, MenuItemLink field

  2. ACF: any Link field

  3. MetaBox: any Number field

  4. Pods: any PlainNumber field

  1. Add any Link field

  2. Save the Layout, copy its embedding shortcode

  3. Embed Layout: paste the shortcode inside the target place

By default, Advanced Views outputs an a - link HTML tag, and you can customize the Layout template to use the render options:

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 specific Layout, and amend the template to put the 'img' tag inside the 'a' tag, as shown below:

2.2) On-page link content preview

Whether the link field points to an external or internal URL, you can display it directly on the page using the <iframe> element:

3. FAQs

Last updated