Link Picker control designed to work with CMB2
Author: | Make Do (profile at wordpress.org) |
WordPress version required: | 4.5 |
WordPress version tested: | 4.7.17 |
Plugin version: | 1.2.1 |
Added to WordPress repository: | 14-07-2016 |
Last updated: | 17-03-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 80 |
Rated by: | 3 |
Plugin URI: | https://github.com/mkdo/link-picker-for-cmb2 |
Total downloads: | 2 241 |
Active installs: | 300+ |
![]() Click to start download |
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.
Features:
- 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 totrue
- Outputs an array of
text
,url
andblank
when usingget_post_meta
- You are able to split the values of the field into individual parts by setting
split_values
totrue
. You can retrieve the split values by using the ID of the field and appending_text
,_url
and_blank
to the ID when usingget_post_meta
(not compatible if using a repeatable field)