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.
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
Helping others is a great way to earn karma, gain badges and help ACF development!