{"id":101502,"date":"2010-08-28T08:00:00","date_gmt":"2010-08-28T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/linkify-posts\/"},"modified":"2025-04-28T14:07:00","modified_gmt":"2025-04-28T14:07:00","slug":"linkify-posts","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/linkify-posts\/","title":{"rendered":"Linkify Posts"},"content":{"rendered":"<p>The plugin provides a widget called \u201cLinkify Posts\u201d as well as a template tag, <code>c2c_linkify_posts()<\/code>, which allow you to easily specify posts to list and how to list them. Posts are specified by either ID or slug. See other parts of the documentation for example usage and capabilities.<\/p>\n<p>Particularly handy when used in conjunction with the post custom field feature of WordPress. You could define a custom field for \u201cRelated Posts\u201d or \u201cAdditional Products\u201d and manually list out post IDs, then utilize the function provided by this plugin to display links to those posts in a custom manner.<\/p>\n<p>Links: <a href=\"https:\/\/coffee2code.com\/wp-plugins\/linkify-posts\/\" rel=\"nofollow ugc\">Plugin Homepage<\/a> | <a href=\"https:\/\/wordpress.org\/plugins\/linkify-posts\/\" rel=\"ugc\">Plugin Directory Page<\/a> | <a href=\"https:\/\/github.com\/coffee2code\/linkify-posts\/\" rel=\"nofollow ugc\">GitHub<\/a> | <a href=\"https:\/\/coffee2code.com\" rel=\"nofollow ugc\">Author Homepage<\/a><\/p>\n<h3>Developer Documentation<\/h3>\n<p>Developer documentation can be found in <a href=\"https:\/\/github.com\/coffee2code\/linkify-posts\/blob\/master\/DEVELOPER-DOCS.md\" rel=\"nofollow ugc\">DEVELOPER-DOCS.md<\/a>. That documentation covers the template tag and hook provided by the plugin.<\/p>\n<p>As an overview, this is the template tag provided by the plugin:<\/p>\n<ul>\n<li><code>c2c_linkify_posts()<\/code> : Template tag to display links to each of any number of posts specified via post IDs\/slugs. You can customize text to show before and\/or after the entire listing, between each post, and what to display (if anything) when no posts are listed.<\/li>\n<\/ul>\n<p>This is the hook provided by the plugin:<\/p>\n<ul>\n<li><code>c2c_linkify_posts<\/code> : Allows use of an alternative approach to safely invoke <code>c2c_linkify_posts()<\/code> in such a way that if the plugin were deactivated or deleted, then your calls to the function won\u2019t cause errors in your site.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Turn a string, list, or array of post IDs and\/or slugs into a list of links to those posts. Provides a widget and template tag.<\/p>\n","protected":false},"author":65,"featured_media":301188,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Linkify Posts - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Turn a string, list, or array of post IDs and\/or slugs into a list of links to those posts. Provides a widget and template tag."},"footnotes":""},"categories":[1],"tags":[635,29162,71,542,120],"class_list":["post-101502","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-link","tag-linkify","tag-post","tag-posts","tag-widget"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/101502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=101502"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/101502\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/301188"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=101502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=101502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=101502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}