{"id":101561,"date":"2010-11-17T08:00:00","date_gmt":"2010-11-17T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/links-shortcode\/"},"modified":"2019-11-10T23:28:00","modified_gmt":"2019-11-10T23:28:00","slug":"links-shortcode","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/links-shortcode\/","title":{"rendered":"Links shortcode"},"content":{"rendered":"<p>The plugin re-enables the Link Manager in WordPress and provides the shortcode \u2018links\u2019. This shortcode displays a list of all links having specified characteristics, for example a link category name in your post. By default it includes a Facebook Like button for every link, but this can be easily disabled.<\/p>\n<p>The plugin supports a customizable <strong>template<\/strong> for showing links. This enables you to use the shortcode to display links in any format you like, for example in a list or a table, with or without link images, etc. All relevant properties of a link are supported and listed on the Settings page of the plugin.<\/p>\n<p>The typical format for the short code is<\/p>\n<blockquote>\n<p>[links option1=\u201dx\u201d option2=\u201dy\u201d etc\u2026]<\/p>\n<\/blockquote>\n<p>The following options are available:<\/p>\n<ul>\n<li><strong>fblike<\/strong>: Show the facebook Like button (default \u20181\u2019, to disable set to any value other than \u20181\u2019).<\/li>\n<li><strong>fbrecommend<\/strong>: Show the Facebook Recommend botton (default \u201d, to enable set to \u20181\u2019).<\/li>\n<li><strong>orderby<\/strong>: Order the links by (default \u2018name\u2019). Use \u2018order\u2019 to order links by order specified with \u2018My Link Order\u2019 plugin.<\/li>\n<li><strong>order<\/strong>: How to order, ASC or DESC (default \u2018DESC\u2019).<\/li>\n<li><strong>limit<\/strong>: Limit the number of links shown (default \u2018-1\u2019, which means no limit). <\/li>\n<li><strong>category<\/strong>: Comma separated list of link category ID\u2019s.<\/li>\n<li><strong>category_name<\/strong>: Category name of a catgeory of links to show. Overrides category parameter.<\/li>\n<li><strong>hide_invisible<\/strong>: Hide links marked as not visible (default \u20181\u2019, yes).<\/li>\n<li><strong>include<\/strong>: Comma separated list of numeric link IDs to include. If \u2018include\u2019 is used, the category, category_name, and exclude parameters are ignored. <\/li>\n<li><strong>exclude<\/strong>: Comma separated list of numeric link IDs to exclude.<\/li>\n<li><strong>search<\/strong>: Shows all links matching this search string. It searches url, link name and link description.<\/li>\n<li><strong>links_per_page<\/strong>: To paginate lists of links. How many links to show per page. Below the links a pagination will be shown.<\/li>\n<li><strong>links_list_id<\/strong>: A unique identifyer on a page for the shortcode at hand. Mandatory in case \u2018links_per_page\u2019 is used to paginate. Optional to define custom styles for this id using css. <\/li>\n<li><strong>class<\/strong>: A class that can be inserted using the links template. You could for example use\n<div class=\u201d[class]\u201d> in the template to attache different style to different instances of the short code.<\/li>\n<li><strong>alttext<\/strong>: An alternative text that will be displayed if the shortcode does not return any links.<\/li>\n<\/ul>\n<p>Dafault options can be changed on a \u2018Links Shortcode\u2019 page in the Settings menu.<\/p>\n<p>Example:<\/p>\n<blockquote>\n<p>[links category_name=\u201dBlogroll\u201d]<\/p>\n<\/blockquote>\n<p>Using the customizable template, all properties of a link can be displayed. An example template is included. This  template uses the Name, Web Address, Description and Rating of your links. The Name will link to the Web Address.<\/p>\n<p>If the Name starts with a date, formatted as: yyyy-mm-dd followed by \u2018:\u2019, a separate property  for the date is available.<\/p>\n<p>Templates are fully customizable. For more information see http:\/\/www.apprique.com\/community\/wordpress-plugins.<\/p>\n<p>Please note that the Description of a link has a limited length, but the WordPress UI does not show this. After saving changes to a Link in the Links section, WordPress only saves the first 255 characters. This has nothing to do with this Plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The plugin provides the shortcode 'links'. This shortcode shows all links having specified characteristics, following a specified template.<\/p>\n","protected":false},"author":65,"featured_media":301226,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Links shortcode - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"The plugin provides the shortcode 'links'. This shortcode shows all links having specified characteristics, following a specified template."},"footnotes":""},"categories":[1],"tags":[11,176,635,237,345],"class_list":["post-101561","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-category","tag-facebook","tag-link","tag-links","tag-shortcode"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/101561","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=101561"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/101561\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/301226"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=101561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=101561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=101561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}