Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Link Picker for CMB2


Using the Link Picker for CMB2 control, you can choose a link from your WordPress site, or manually enter a link. You can also identify if the link should open in a new window, or not.


  • Easy to integrate with CMB2, just add a type of link_picker
  • Works with repeatable groups
  • Works as a repeatable field when repeatable is set to true
  • Outputs an array of text, url and blank when using get_post_meta
  • You are able to split the values of the field into individual parts by setting split_values to true. You can retrieve the split values by using the ID of the field and appending _text, _url and _blank to the ID when using get_post_meta (not compatible if using a repeatable field)

Captures d’écran

  • The Link Picker Control
  • Choose a link from your WordPress install
  • Responsive design
  • Setting a field as repeatable
  • The Link Picker as a repeatable field
  • Setting a field to have split values


  1. Backup your WordPress install
  2. Upload the plugin folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Configure the plugin via the ‘Link Picker for CMB2’ options page under the WordPress ‘Settings’ Menu


Works great

Works great. If you want to adjust, fork it. Thanks for providing this.

Does the job – could be more configurable

Thanks for this plugin. It's got potential. Might be a mistake on my part, but I couldn't find the settings the plugin claims to have. I didn't want to show the 'text' or 'blank' options, but I hid them with CSS, so no biggie. Also, "repeatable" facility appears not to work.
Lire les 2 avis

Contributeurs & développeurs

« Link Picker for CMB2 » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.


Traduisez « Link Picker for CMB2 » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.



  • First stable release


  • Media assets error message fix


  • Updated responsiveness of control



  • Control now works if editor not supported by post type


  • Fixed a bug where the link was getting added to the main content editor


  • JS Error free for 2017! – Squashed all those nasty JS console bugs


  • WP Coding Standards, We got em! – Now passes those pesky WP Coding Standards


  • Added new artwork