[WordPress] 外掛分享: WP Pinboard

首頁外掛目錄 › WP Pinboard
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
3880 天前
最後更新
問題解決
WordPress 3.5+ v1.0 上架:2015-08-04

內容簡介

此外掛新增一個短碼,可在您的內容、小工具或版型中顯示 Pinboard.in 書籤。公開資訊源可按使用者名稱或標籤過濾。

URL 樣式

公開書籤的 URL 樣式如下:

https://pinboard.in/u:使用者名稱/
https://pinboard.in/t:標籤/
https://pinboard.in/recent/
https://pinboard.in/popular/

您可以通過將使用者名稱與標籤結合,來過濾書籤:

https://pinboard.in/u:使用者名稱/t:標籤1/t:標籤2/

您可以通過最多三個標籤來過濾書籤:

https://pinboard.in/t:標籤1/t:標籤2/t:標籤3/

請注意 URL 必須以 https://pinboard.in/ 開頭。

使用範例

基本範例:

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

進階範例:

description:是否顯示書籤描述,預設為「顯示」。
tags:是否顯示書籤標籤,預設為「顯示」。
date:是否顯示書籤日期,預設為「顯示」。
user:是否顯示書籤使用者名稱,預設為「顯示」。
count:顯示書籤數量(最大值 400),預設為 20。
orderby:如何排序書籤。可接受「title」、「date」或「random」,預設為「date」。
[wp_pinboard description=”show” tags=”show” user=”show” date=”show” count=”20″ orderby=”date”]https://pinboard.in/u:username/[/wp_pinboard]

文字小工具範例:

您可以使用文字小工具如下列印書籤:
[wp_pinboard]https://pinboard.in/u:username/[/wp_pinboard]

版型範例:

您也可以直接在版型中如下列印書籤:

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Pinboard」→ 直接安裝(推薦)

原文外掛簡介

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:

延伸相關外掛

文章
Filter
Apply Filters
Mastodon