{"id":49671,"date":"2016-07-14T08:22:54","date_gmt":"2016-07-14T08:22:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/link-picker-for-cmb2\/"},"modified":"2017-03-17T21:47:10","modified_gmt":"2017-03-17T21:47:10","slug":"link-picker-for-cmb2","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/link-picker-for-cmb2\/","author":4029377,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.1","stable_tag":"1.2.1","tested":"4.7.33","requires":"4.5","requires_php":"","requires_plugins":"","header_name":"Link Picker for CMB2","header_author":"Make Do <hello@makedo.net>","header_description":"","assets_banners_color":"207a9e","last_updated":"2017-03-17 21:47:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/mkdo\/link-picker-for-cmb2","header_author_uri":"http:\/\/www.makedo.in","rating":4,"author_block_rating":0,"active_installs":100,"downloads":2642,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":"1","3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1616619","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1616619","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1616619","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1616619","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.2.0","1.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1454546","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1454546","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1454546","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1454546","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1454546","resolution":"5","location":"assets"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1454546","resolution":"6","location":"assets"}},"screenshots":{"1":"The Link Picker Control","2":"Choose a link from your WordPress install","3":"Responsive design","4":"Setting a field as repeatable","5":"The Link Picker as a repeatable field","6":"Setting a field to have split values"}},"plugin_section":[],"plugin_tags":[18377,537,2265],"plugin_category":[],"plugin_contributors":[84537,84538,92215],"plugin_business_model":[],"class_list":["post-49671","plugin","type-plugin","status-closed","hentry","plugin_tags-cmb2","plugin_tags-link","plugin_tags-link-picker","plugin_contributors-mkdo","plugin_contributors-mwtsn","plugin_contributors-sagetopia","plugin_committers-mwtsn"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/link-picker-for-cmb2_207a9e.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/link-picker-for-cmb2\/assets\/screenshot-1.png?rev=1454546","caption":"The Link Picker Control"},{"src":"https:\/\/ps.w.org\/link-picker-for-cmb2\/assets\/screenshot-2.png?rev=1454546","caption":"Choose a link from your WordPress install"},{"src":"https:\/\/ps.w.org\/link-picker-for-cmb2\/assets\/screenshot-3.png?rev=1454546","caption":"Responsive design"},{"src":"https:\/\/ps.w.org\/link-picker-for-cmb2\/assets\/screenshot-4.png?rev=1454546","caption":"Setting a field as repeatable"},{"src":"https:\/\/ps.w.org\/link-picker-for-cmb2\/assets\/screenshot-5.png?rev=1454546","caption":"The Link Picker as a repeatable field"},{"src":"https:\/\/ps.w.org\/link-picker-for-cmb2\/assets\/screenshot-6.png?rev=1454546","caption":"Setting a field to have split values"}],"raw_content":"<!--section=description-->\n<p>Using the Link Picker for <a href=\"https:\/\/wordpress.org\/plugins\/cmb2\/\">CMB2<\/a> 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.<\/p>\n\n<p>Features:<\/p>\n\n<ul>\n<li>Easy to integrate with <a href=\"https:\/\/wordpress.org\/plugins\/cmb2\/\">CMB2<\/a>, just add a type of <code>link_picker<\/code><\/li>\n<li>Works with repeatable groups<\/li>\n<li>Works as a repeatable field when <code>repeatable<\/code> is set to <code>true<\/code><\/li>\n<li>Outputs an array of <code>text<\/code>, <code>url<\/code> and <code>blank<\/code> when using <code>get_post_meta<\/code><\/li>\n<li>You are able to split the values of the field into individual parts by setting <code>split_values<\/code> to <code>true<\/code>. You can retrieve the split values by using the ID of the field and appending <code>_text<\/code>, <code>_url<\/code> and <code>_blank<\/code> to the ID when using <code>get_post_meta<\/code> (not compatible if using a repeatable field)<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Backup your WordPress install<\/li>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure the plugin via the 'Link Picker for CMB2' options page under the WordPress 'Settings' Menu<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First stable release<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Media assets error message fix<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Updated responsiveness of control<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fixed JS issues (with thanks to <a href=\"https:\/\/profiles.wordpress.org\/sagetopia\/\">sagetopia<\/a>)<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Control now works if editor not supported by post type<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Fixed a bug where the link was getting added to the main content editor<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>JS Error free for 2017! - Squashed all those nasty JS console bugs<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>WP Coding Standards, We got em! - Now passes those pesky WP Coding Standards<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Added new artwork<\/li>\n<\/ul>","raw_excerpt":"Link Picker control designed to work with CMB2","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=49671"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mwtsn"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49671"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49671"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49671"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49671"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49671"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}