[WordPress] 外掛分享: VS Link Manager

首頁外掛目錄 › VS Link Manager
WordPress 外掛 VS Link Manager 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(2 則評價)
32 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v3.9 上架:2022-03-29

內容簡介

關於

這是一個輕量的外掛,用於顯示來自「連結管理員」的連結集合。

連結管理員是 WordPress 的一部分,但預設情況下已停用。此外掛將再次啟用它。

在頁面上添加短碼 [links],以顯示您的 blogroll。

您可以通過向短碼添加屬性來個性化您的 blogroll。

此外掛還可用於創建連結門戶。

使用方式

啟用後,您將注意到一個名為「連結」的新菜單項目。在此處添加分類和連結。必須將連結放入分類中。

創建一個頁面,添加短碼 [links] 以顯示您的 blogroll。

預設設置的分類:

4 列
按名稱排序
遞增排序(A-Z)
隱藏空分類

預設設置的連結:

按名稱排序
遞增排序(A-Z)
顯示所有連結

短碼屬性

您可以向上述短碼添加屬性。

將自定義 CSS 類添加到 blogroll: class="you-class-here"
更改列數: columns="3"
包括某些分類: include="1,3,5"
排除某些分類: exclude="8,10,12"
顯示空分類: hide_empty="0"
顯示分類描述: category_description="true"
更改每個分類的連結數: limit="5"
以降序顯示連結: order="DESC"
按 ID 顯示連結: orderby="ID"
以隨機順序顯示連結: orderby="rand"
隱藏連結標題: hide_title="true"
隱藏連結描述: hide_description="true"

關於列屬性:您可以在1至4列之間進行選擇。在移動屏幕上,除 1 列 blogroll 外,都是 2 列。

您可以使用 columns="0" 禁用獨立列的 CSS。當使用您自己的樣式時,這可能很有用。

關於隱藏連結標題屬性:僅當連結已指定圖片時才具有效果。

範例:

一個屬性:[links include="1,3,5"]
多個屬性:[links include="1,3,5" category_description="true" limit="5"]

小工具

此外掛再次啟用了連結小工具,但無法控制它。

問題?

請查看常見問題解答部分。

翻譯

未包含但外掛支持 WordPress 語言包。

更多 翻譯 非常歡迎!

此外掛中的翻譯文件夾是冗餘的,但仍保留供參考。

鳴謝

如果沒有 WordPress 維基和 WordPress 社區的幫助,我就無法開發這個外掛,所以:感謝!

享受!

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.9) 或搜尋安裝

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

原文外掛簡介

About
With this lightweight plugin you can display a set of links from the Link Manager.
The Link Manager is part of WordPress but disabled by default. This plugin will activate it again.
Main features of the plugin:

Free and lightweight
Support for Block Editor and Classic Editor
Display your link list with block, shortcode or widget
Customize your link list with attributes
Documentation at WP plugin page
Active support from developer at WP forum

With this plugin you can also create a blogroll or link portal in the same way as a link list.
How to use
After installation go to menu item “Links” and create some categories and links. Links must be assigned to a category.
Go to the editor and add the VS Link Manager block or the shortcode [links] to a page. This will display your link list.
Or go to Appearance > Widgets and use the VS Link Manager widget.
Default settings categories:

4 columns when using block or shortode
1 column when using widget
2 columns in small screens
Order by name
Ascending order (A-Z)
Empty categories are hidden

Default settings links:

Order by name
Ascending order (A-Z)
All links are displayed

Customize your link list with attributes.
Attributes
You can customize your link list by adding attributes to the block, shortcode or widget.

Add custom CSS class to link list: class="your-class-name"
Change the number of columns: columns="3"
Disable the columns: columns="0"
Include certain categories: include="1,3,5"
Exclude certain categories: exclude="8,10,12"
Display empty categories too: hide_empty="0"
Display category description: category_description="true"
Change the number of links per category: links_per_category="5"
Reverse the order of links: order="DESC"
Display links by ID: orderby="ID"
Display links in random order: orderby="rand"
Hide link title: link_title="false"
Hide link description: link_description="false"
Change feed label: feed_label="your label"
Change the “no categories are found” text: no_categories_text="your text"

Example: [links include="1,3,5" category_description="true" links_per_category="5"]
When using the block or the widget, don’t add the main shortcode tag or the brackets.
Example: include="1,3,5" category_description="true" links_per_category="5"
With the columns attribute you can set the number of columns between 1 and 4.
In small screens max 2 colums.
You can disable the columns in favour of your own styling.
The columns attribute will be ignored when using the block or widget. Because you can set the columns via the block or widget settings.
With the “hide link title” attribute you can hide the link title if the link has an image assigned to it. This way you can display the link image only, instead of both.
Widget
This plugin activates the Links widget again. Because this widget is part of WordPress, plugin has no control over it.
You can use the VS Link Manager widget instead.
Have a question?
Please take a look at the FAQ section.
Translation
Translations are not included, but the plugin supports WordPress language packs.
More translations are very welcome!
The translation folder inside this plugin is redundant, but kept for reference.
Credits
Without help and support from the WordPress community I was not able to develop this plugin, so thank you!

文章
Filter
Apply Filters
Mastodon