plugin-icon

WP Pinboard

作者:Josh Stauffer·
Adds a shortcode to display Pinboard.in bookmarks in your content, widgets, or templates. Public feeds can be filtered by usernames or tags.
评级
5/5
版本
1.0
活跃安装
20
最后更新
Aug 5, 2015

Adds a shortcode to display Pinboard.in bookmarks in your content, widgets, or templates. Public feeds can be filtered by usernames or tags.

URL Patterns

The URL patterns for public bookmarks look like this:

  • https://pinboard.in/u:username/
  • https://pinboard.in/t:tag/
  • https://pinboard.in/recent/
  • https://pinboard.in/popular/

You can filter bookmarks by combining a username with tags:

  • https://pinboard.in/u:username/t:tag1/t:tag2/

You can filter bookmarks by up to three tags:

  • https://pinboard.in/t:tag1/t:tag2/t:tag3/

Please note that the URL must begin with https://pinboard.in/.

Usage Examples

Basic Example:

[wp_pinboard]https://pinboard.in/u:username/[/wp_pinboard]

Advanced Example:

  • description: Whether to show of hide the description of the bookmark. Default ‘show’.
  • tags: Whether to show of hide the tags of the bookmark. Default ‘show’.
  • date: Whether to show of hide the date of the bookmark. Default ‘show’.
  • user: Whether to show of hide the username of the bookmark. Default ‘show’.
  • count: The number of bookmarks to display (max: 400). Default 20.
  • orderby: How to sort the bookmarks. Accepts ‘title’, ‘date’, or ‘random’. Default ‘date’. [wp_pinboard description=”show” tags=”show” user=”show” date=”show” count=”20″ orderby=”date”]https://pinboard.in/u:username/[/wp_pinboard]

Text Widget Example:

You can print bookmarks using a text widget like so: [wp_pinboard]https://pinboard.in/u:username/[/wp_pinboard]

Template Example:

You can also print bookmarks directly in a template like so:

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 4.2.39
这个插件是可用的下载,适用于您的站点。