Plugin info

Total downloads: 12,632
Active installs: 800
Total reviews: 5
Average rating: 4
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 1/22/2016 (3632 days ago)
Added to WordPress: 7/22/2014 (11 years old)
Minimum WordPress version: 3.5
Tested up to WordPress version: 4.4.32
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3632 days ago • 5 reviews

22/100

Is Advanced Custom Fields: Link Picker Field abandoned?

Possibly abandoned (last update 3632 days ago).

Compatibility

Requires WordPress: 3.5
Tested up to: 4.4.32
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Advanced Custom Fields: Link Picker Field
Rating 5.0/5 (2 reviews)Active installs 900

Description

This add on for the already established Advanced Custom Fields plugin adds a new field type called ‘Link Picker’ which allows the user to enter a URL, or select from the existing pages. It is a thin wrapper around the link selector included with the WYSIWYG field editor.

This plugin is forked from the plugin of the same name hosted at https://github.com/BIOSTALL/ACF-Link-Picker-Field. This version is hosted at https://github.com/ahebrank/ACF-Link-Picker-Field and issues and PRs should be submitted there.

Note: Advanced Custom Fields must be installed for this add-on to work.

Compatibility

This ACF field type is compatible with:

  • ACF 5
  • ACF 4

Usage

When outputting the link selection on the front end, you will have three object elements available:

  • url – The URL of the page
  • title – The title of the link, if entered
  • target – Will be either a blank string or ‘_blank’, depending on whether the user has ticked the box for the link to open in a new window/tab.

Code example:

$mylink = get_field('mylink');
var_dump($mylink);

Outputs:

array(3) {
  ["url"]=>
  string(31) "http://mysite.com/selected/url/"
  ["title"]=>
  string(10) "Link Title"
  ["target"]=>
  string(6) "_blank"
}

Installation

  1. Copy the acf-link_picker folder into your wp-content/plugins folder
  2. Activate the ‘Advanced Custom Fields: Link Picker’ plugin via the plugins admin page
  3. Create a new field via ACF and select the Link Picker type

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

Changelog

1.1.1

  • Added PT translation support from alvarogois
  • Bumped compatibility information

1.1

  • Bump version, preserve _blank target if set from philmprice

1.0.3

1.0.2

  • Forked by ahebrank and refactored, updated for compatibility with WP 4.2

1.0.1

  • Solve bug with repeater fields (credit to Willy Bahuaud http://wabeo.fr/)
  • Solve problem with empty values (credit to Willy Bahuaud http://wabeo.fr/)

1.0.0

  • Initial Release.