Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
chris46

Make ACF Repeater Field Containing URL Clickable

Hi,

I have some ACF Repeater Fields that contain a URL subfield. I want to make these URL subfields Clickable in an Admin Column – what are my options?

At the moment I am using <a href=" in the before box and ">Link</a> in the after box in the Admin Columns setting, which does make the link clickable, but every link has the same text (‘Link’).

I have another subfield, ‘description’, in the same repeater field – is there any way I can use that to populate the column?

5 years, 11 months ago
Stefan van den Dungen Gronovius
Developer

It is not possible to merge two repeater fields into a single columns.
If you want to do something like that, the best way to do that is to use the following filter:
https://www.admincolumns.com/documentation/filter-reference/ac-column-value/

You can check for the specific ACF repeater fields and build up the value yourself for this column.
Have a look at the first example where the filter is used for the ACF column.

5 years, 11 months ago

You must be logged in to reply to this topic.