Site logo

Archived topic

ACF

3 replies · Started by Robert on March 15, 2022

Viewing posts 1–4 of 4

Hi,
We're using the Capital theme, specifically the latest posts block and we're trying to add an external link (new tab) under each of the latest posts (we have GP premium). So we tried a 'link' custom field and a "URL" custom field but we can't pull either of them into the dynamic content with a heading. Also, we don't want to display the actually link on the frontend, just some link text. Couldn't find anything on ACF support. Any ideas much appreciated.

Hi there,

The GB Headline Block cannot display static text and a dynamic link, both have to static or dynamic.

But if you use a GenerateBlocks Button Block then that you can set some static text for the button label, whilst setting Dynamic Link > Post Meta --> Your ACF field name, i would probably set a URL field in ACF.

Note: When you add the Button you must give it a static link - simply add # - this is required for GP to swap it for the dynamic link.

Hi David,
Aha! Sorted. Many thanks, excellent support, much appreciated.

You're welcome

This archived topic is closed to new replies.