[WordPress] 外掛分享: Maja Bookmarks

首頁外掛目錄 › Maja Bookmarks
10+
安裝啟用
尚無評分
5164 天前
最後更新
問題解決
WordPress 2.7+ v1.1.5.1 上架:2012-01-25

內容簡介

Maja書籤外掛是一個小工具以及一個短代碼,通過幾個選項顯示書籤(鏈接)列表。包含小部件選項和對應的短代碼以配置下面提到的功能。遵循WordPress標準小工具輸出指南。完全更新以使用新的小工具API,支持多個小工具。完全符合XHTML。

功能:

可以按類別或多個類別顯示鏈接。
可以包括/排除特定的鏈接ID。
可以限制鏈接數量。
可以顯示符合搜索關鍵字標準的鏈接。
可以顯示/隱藏不可見的鏈接。
可以按多個條件排序。
可以選擇ul列表的自定義CSS選擇器。
可以添加自定義輸出模板,以及選擇自定義HTML標籤容器。
短代碼標記中可以使用所有小工具參數。

短代碼默認參數

[majabookmarks
limit=”5″
order=”ASC”
orderby=”name”
category_name=”All”
category=””
hide_invisible=”1″
show_updated=”0″
include=””
exclude=””
search=””
use_css=””
use_hook=””]

自定義模板

在您的佈景主題文件夾中創建一個新文件夾,名為“maja-bookmarks”。
在其中創建一個空白PHP文件。
編寫您的HTML / PHP代碼以顯示列表中的一個項目。
使用$bookmark對象打印其屬性。

可用於書籤對象的字段

‘link_id’
‘link_url’
‘link_name’
‘link_image’
‘link_target’
‘link_category’
‘link_description’
‘link_visible’
‘link_owner’
‘link_rating’
‘link_updated’
‘link_rel’
‘link_notes’
‘link_rss’

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Maja Bookmarks」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The Maja Bookmarks plug-in is a widget as well as a shortcode to display a list of bookmarks (links) through several options. Includes widget options and the equivalent shortcode to configure the features mentioned below. It follows the WordPress standard widgets output guidelines. Completely updated to use the new widget API and is multi-widget enabled. Fully XHTML compliant.
Features:

Can display links by category or multi categories.
Can include/exclude specific link id.
Can limit the number of links.
Can show links that match a search keyword criteria.
Can show/hide invisible links.
Can order by several criteria.
Can choose a custom css selector for the ul list.
Can add custom output templates as well as choose a custom html tag container.
All widget parameters can be used in the shorcode tag.

Shortcode default parameters

[majabookmarks
limit=”5″
order=”ASC”
orderby=”name”
category_name=”All”
category=””
hide_invisible=”1″
show_updated=”0″
include=””
exclude=””
search=””
use_css=””
use_hook=””]

Custom Template

Create a new folder inside your theme folder, name it ‘maja-bookmarks’
Create an empty php file inside it.
Write your html/php code to display one item of the list.
Use the $bookmark object to print out its properties.

Available fields in bookmark object

‘link_id’
‘link_url’
‘link_name’
‘link_image’
‘link_target’
‘link_category’
‘link_description’
‘link_visible’
‘link_owner’
‘link_rating’
‘link_updated’
‘link_rel’
‘link_notes’
‘link_rss’

延伸相關外掛

文章
Filter
Apply Filters
Mastodon