{"id":50089,"date":"2016-08-05T09:29:17","date_gmt":"2016-08-05T09:29:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom-post-links\/"},"modified":"2016-12-14T09:56:31","modified_gmt":"2016-12-14T09:56:31","slug":"custom-post-links","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/custom-post-links\/","author":245975,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.8","stable_tag":"trunk","tested":"4.6.30","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"Custom Post Links","header_author":"G.Breant","header_description":"","assets_banners_color":"","last_updated":"2016-12-14 09:56:31","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/bit.ly\/gbreant","header_plugin_uri":"https:\/\/github.com\/gordielachance\/custom-post-links","header_author_uri":"https:\/\/profiles.wordpress.org\/grosbouff\/#content-plugins","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1713,"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":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1468425","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1468425","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1485414","resolution":"3","location":"assets"}},"screenshots":{"1":"Custom Post Links metabox in the backend editor","2":"Settings page","3":"Links displayed under a post"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[18996,175,41985,26413,6643],"plugin_category":[],"plugin_contributors":[83793],"plugin_business_model":[],"class_list":["post-50089","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-links","plugin_tags-links","plugin_tags-post-links","plugin_tags-quick-links","plugin_tags-related-links","plugin_contributors-grosbouff","plugin_committers-grosbouff"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-post-links.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-post-links\/assets\/screenshot-1.png?rev=1468425","caption":"Custom Post Links metabox in the backend editor"},{"src":"https:\/\/ps.w.org\/custom-post-links\/assets\/screenshot-2.png?rev=1468425","caption":"Settings page"},{"src":"https:\/\/ps.w.org\/custom-post-links\/assets\/screenshot-3.png?rev=1485414","caption":"Links displayed under a post"}],"raw_content":"<!--section=description-->\n<p>This plugin has <em>moved<\/em> to <a href=\"https:\/\/wordpress.org\/plugins\/post-bookmarks\">https:\/\/wordpress.org\/plugins\/post-bookmarks<\/a>.  Please upgrade !<\/p>\n\n<h3>Localization<\/h3>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to your blog and Activate it.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How can I style a link based on its domain, using CSS ?<\/dt>\n<dd><p>Use the <em>data-cp-link-domain<\/em> attribute, for example :<\/p>\n\n<pre><code>li.cp-links[data-cp-link-domain='wikipedia.org'] .cp-links-favicon {\n    background-image: url('https:\/\/wikipedia.org\/static\/favicon\/wikipedia.ico');\n}\n<\/code><\/pre><\/dd>\n<dt>How can I change the way links are displayed ?<\/dt>\n<dd><p>Use the filter <em>cp_links_output_single_link<\/em> (located in the <strong>cp_links_output_single_link<\/strong> function), for example :<\/p>\n\n<pre><code>&lt;?php\n\nfunction custom_output_single_link($output,$link){\n    return $output;\n}\n\nadd_filter('cp_links_output_single_link','custom_output_single_link',10,2);\n\n?&gt;\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.7<\/h4>\n\n<ul>\n<li>cleaner code for blank row link + links tabe actions<\/li>\n<\/ul>\n\n<h4>2.0.6<\/h4>\n\n<ul>\n<li>try to guess the link name from remote page title or domain (ajaxed)<\/li>\n<li>URL as first column<\/li>\n<li>better way to load JS<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>Better output styling<\/li>\n<li>Favicons : Option to automatically load URL pictures from Google API<\/li>\n<li>New filter \u2018cp_links_get_for_post_pre\u2019<\/li>\n<li>New function ::get_blank_link()<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>minor<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>ignore targets (eg. \u2019_blank\u2019) if a link is a local link<\/li>\n<li>backend : use \u2018_blank\u2019 target for URLs in the links table<\/li>\n<li>implemented links targets<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Importer and admin notice for links from the original <a href=\"https:\/\/github.com\/daggerhart\/custom-post-links\">Custom Post Links<\/a> plugin (metas '_custom_post_links').<\/li>\n<li>new function CP_Links::insert_link()<\/li>\n<li>Improved function 'cp_links_get_existing_link_id'<\/li>\n<li>new function \u2018cp_links_get_metas\u2019<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Do not use the same post meta key than than the original <a href=\"https:\/\/github.com\/daggerhart\/custom-post-links\">Custom Post Links<\/a> plugin.<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>custom sorting<\/li>\n<li>options page<\/li>\n<li>set the link domain as class in the link output<\/li>\n<li>display entries in metabox using class CP_Links_List_Table (extends WP_List_Table)<\/li>\n<li>store \/ read entries from the Link Manager plugin (Worpress core) instead of metas<\/li>\n<li>wrapped in a class, better code structure<\/li>\n<li>use fontAwesome css, deleted drag_handle.png<\/li>\n<li>various other improvements<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Forked from <a href=\"https:\/\/github.com\/daggerhart\/custom-post-links\">Custom Post Links<\/a> by Jonathan Daggerhart.<\/li>\n<\/ul>","raw_excerpt":"Adds a new metabox to the editor, allowing you to attach a set of related links to any post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/50089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=50089"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/grosbouff"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=50089"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=50089"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=50089"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=50089"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=50089"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=50089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}