Allows you to select an existing piece of content or enter a custom URL, set the link title, and choose whether or not the link should open in a new window/tab.
Only works with ACF version 5 and above.
After saving, you can access your data as an array:
array(
[url] => http://site.com/page/
[title] => Page!
[target] => 0
)
安装:
Upload acf-link folder to the /wp-content/plugins/ directory
Activate the plugin through the 'Plugins' menu in WordPress
When editing an ACF Field Group, select 'Link' as the field type