[WordPress] 外掛分享: PictureBook

首頁外掛目錄 › PictureBook
WordPress 外掛 PictureBook 的封面圖片
10+
安裝啟用
尚無評分
100 天前
最後更新
問題解決
WordPress 2.7+ v2.0 上架:2010-01-13

內容簡介

此外掛的唯一目的是顯示 WordPress 書籤連結,其中能夠顯示文字和任何附帶的圖示。利用『連結』標籤(WordPress 2.7 + 版本),您可以將它們顯示為文字連結清單或圖示連結清單,但無法同時顯示。

現在介紹 PictureBook,一個小插件,它提供所需的程式碼,以列出包含文字和圖示的書籤。例如,網站的頁腳中可能包含社交媒體書籤連結,每個連結都可以顯示社交媒體網站的名稱和相對應的小圖示,只需在 WordPress 的『連結』標籤中輸入您的資訊就可完成。實現此目標是有可能的,但需要少量核心操作,因此我們認為更好的做法是安裝一個插件,然後不用擔心下一個 WordPress 更新。

插件的程式碼本身只是重新將現有的『wp_list_bookmarks』加工。通過更改『link_image』的輸出來顯示『link_name』,就可以實現所需的效果。此插件最大的好處是,使用者可以選擇三種不同的格式來顯示他們的書籤:僅文字、僅圖像或兩者的結合。

請注意,從 WordPress 3.5 版本開始,『連結』管理員已被棄用並從設備板中移除。如果您目前有書籤,則此選項仍然可用。否則,我們建議從 WordPress 安裝必需的『Link Manager』插件,詳情請參閱此處:https://wordpress.org/plugins/link-manager/

在範例中(請參閱『安裝』標籤),我們使用標準 WordPress 的『wp_list_bookmarks』格式與新的函數名稱『wp_list_picturebook』。與原標籤相關的所有參數都是可用的。此處顯示的程式碼將顯示包含文字和圖像的書籤清單,沒有標題,並且僅列出來自『類別 4』的書籤。WordPress 會自動添加項目標籤,因此不需要包含它們。

插件網址

PictureBook

截圖

查看截圖

外掛標籤

開發者團隊

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

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

原文外掛簡介

Built for the sole purpose of displaying WordPress Bookmark Links that show both text and any attached icons. Utilizing the ‘Links’ tab ( WordPress 2.7 + up ), it is possible to display them as either a list of text links or a list of icon links but not both at the same time.
Enter PictureBook, a small plugin that provides the necessary code to list your Bookmarks with both text and icons. An example use case might be in the footer of a website that contains social bookmarking links, each link could show the name of the social media website and a small icon next to it just by entering your information into the WordPress ‘Links’ tab. Achieving this goal is possible with a little core manipulation but we thought it would be more productive to simply install a plugin and not worry about the next WordPress update.
The plugin code itself is just a re-functioning the current ‘wp_list_bookmarks’. By altering the ‘link_image’ output to display the ‘link_name’, its possible to achieve the desired effect. The biggest benefit of this plugin is that a User is allowed to display their Bookmarks in three separate formats: text-only, image-only and a combination of both.
Please note that as of WordPress 3.5 the ‘Links’ manager has been deprecated and removed from the Dashboard. If you currently have links this option will still be available. If not, we recommend the ‘Link Manager’ plugin from WordPress which is required to run PictureBook. Download here: https://wordpress.org/plugins/link-manager/
In the example (see the Installation tab), we are using the standard WordPress ‘wp_list_bookmarks’ formatting with a new function name ‘wp_list_picturebook’. All parameters associated with the original tag are functional. The code shown here will display a list of Bookmarks with both text and images, no headline, and only list those Bookmarks from ‘Category 4’. WordPress auto adds our line item tags and therefore they do not need to be included.
Plugin URL
PictureBook
Screenshots
View Screenshots

延伸相關外掛

文章
Filter
Apply Filters
Mastodon