We’ve recently switched over from Yoast to AIOSEO and while using the “link” field, there’s some extra fields added to further improve what’s available to a link. Unfortunately, these fields don’t work through defined ACF “link” fields. This functionality only works on links created within posts. See attached screenshot for a reference of the fields added to the link field overlay.
It’s probably a niche ask, but would it be possible to add support for these fields? Would anyone be able to direct me into how I could maybe save those fields with hooks/actions available? Seems as though ACF doesn’t even recognize that data upon save so it never gets sent to a hook.
This makes sense because ACF uses the built in link popup for WP, and in this case that is probably being overridden by the plugin.
You are correct about this being a niche ask. The developers of ACF usually do not add features for specific plugins, but it has been done in the past for things like popular translation plugins. You would have to ask them directly.
Baring that, someone would need to create a custom field type based on the acf field type or find another solution.
I have actually done the latter using a group field with each setting being a sub field.
Yeah – I was hopeful that this may have already been solved somewhere but the internet came up with nothing so I figured I’d ask if there may be an easy way to accomplish this. I’ll see if I can come up with something myself but thanks anyway!
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users