{"id":26863,"date":"2013-12-22T04:06:40","date_gmt":"2013-12-22T04:06:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/link-chooser\/"},"modified":"2014-04-30T20:53:03","modified_gmt":"2014-04-30T20:53:03","slug":"link-chooser","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/link-chooser\/","author":7620118,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"1.0.2","tested":"3.9.0","requires":"3.7.1","requires_php":"","requires_plugins":"","header_name":"Link Chooser","header_author":"Gabe Shackle","header_description":"","assets_banners_color":"f5f5f5","last_updated":"2014-04-30 20:53:03","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/hereswhatidid.com\/","header_plugin_uri":"http:\/\/hereswhatidid.com\/plugins\/link-chooser\/","header_author_uri":"http:\/\/hereswhatidid.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":901,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"827007","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"827007","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"827007","resolution":"1","location":"assets"}},"screenshots":{"1":"Example of a dialog attached to a standard text field"}},"plugin_section":[],"plugin_tags":[229,537],"plugin_category":[59],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-26863","plugin","type-plugin","status-closed","hentry","plugin_tags-javascript","plugin_tags-link","plugin_category-utilities-and-tools","plugin_committers-hereswhatidid"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/link-chooser_f5f5f5.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/link-chooser\/assets\/screenshot-1.png?rev=827007","caption":"Example of a dialog attached to a standard text field"}],"raw_content":"<!--section=description-->\n<p>With this plugin you are able to use the core Add\/edit Link dialog anywhere in your admin screens.<\/p>\n <p>It can be attached to any kind of input field by giving the field the 'wpLinkPopup' class and setting the \"data-linkvalue\" attribute to any of the following values: \"href\", \"title\", or \"target\".<\/p>\n\n<!--section=installation-->\n<h4>Using The WordPress Dashboard<\/h4>\n <ol>\n<li>Navigate to the 'Add New' in the plugins dashboard<\/li>\n<li>Search for 'Link Chooser'<\/li>\n<li>Click 'Install Now'<\/li>\n<li>Activate the plugin on the Plugin dashboard<\/li>\n<\/ol>\n <h4>Uploading in WordPress Dashboard<\/h4>\n <ol>\n<li>Navigate to the 'Add New' in the plugins dashboard<\/li>\n<li>Navigate to the 'Upload' area<\/li>\n<li>Select <code>link-chooser.zip<\/code> from your computer<\/li>\n<li>Click 'Install Now'<\/li>\n<li>Activate the plugin in the Plugin dashboard<\/li>\n<\/ol>\n <h4>Using FTP<\/h4>\n <ol>\n<li>Download <code>link-chooser.zip<\/code><\/li>\n<li>Extract the <code>link-chooser<\/code> directory to your computer<\/li>\n<li>Upload the <code>link-chooser<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin in the Plugin dashboard<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>How do I call the Link Chooser dialog manually via JavaScript?<\/h4>\n <p>Here is a very basic example that logs the resulting link parameters to your console:<\/p>\n <pre><code>wpLinkPopup.open( function( link ) {                 console.log( 'Link URL: ', link.href );                 console.log( 'Link Target: ', link.target );                 console.log( 'Link Title: ', link.title );             }); <\/code><\/pre>\n <h4>How do I attach the Link Chooser to a standard input via data attribute?<\/h4>\n <pre><code>&lt;input type=\"text\" class=\"wpLinkPopup\" data-linkvalue=\"href\"&gt; <\/code><\/pre>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n <ul>\n<li>Initial deployment<\/li>\n<\/ul>","raw_excerpt":"Use the core Add\/edit Link dialog anywhere within the admin via JavaScript or simple field attributes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26863","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=26863"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hereswhatidid"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26863"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26863"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26863"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26863"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26863"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}