[WordPress] 外掛分享: JS Categories List Widget

首頁外掛目錄 › JS Categories List Widget
WordPress 外掛 JS Categories List Widget 的封面圖片
1,000+
安裝啟用
★★★★
4.8/5 分(15 則評價)
28 天前
最後更新
問題解決
WordPress 6.1+ PHP 7.0+ v4.1.1 上架:2010-12-06

內容簡介

JS Categories List Widget 外掛提供了一個小工具和過濾器,能在側邊欄或文章中顯示可折疊的分類列表,使用原生 JavaScript 實現,兼容所有瀏覽器,幫助用戶有效管理和展示網站分類。

【主要功能】
• 支援 Gutenberg 區塊和 FSE 佈景主題
• 顯示折疊的分類列表以節省空間
• 自訂展開/折疊符號
• 選擇排除的分類
• 自動展開選定的分類
• 簡單的佈局配置

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.1.1) 或搜尋安裝

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

原文外掛簡介

This plugin provides a widget and a filter to display a collapsible list of categories in your sidebar or posts by using vanilla Javascript.
Features

Support for Gutenberg blocks. Add it to any FSE theme or Gutenberg compatible theme.
Display a collapsed list of your archives to reduce space.
Uses vanilla JS to add effects and to be compatible with all browsers.
Select the symbol for expanding/collapsing categories
Select categories to exclude, so it shows only the categories you want.
Autoexpand selected category (including it parent or child).
Support for multiple instances.
Simple layout configuration
Shortcode support [JsCategoriesList]
Translated to Spanish, Italian Russian, Slovak, Czech.
Compatible with most JS cache and minify plugins.
And more to come…

Configuration

Title: title of the widget.
Trigger Symbol: characters to be displayed as a bullet.
Symbol position: where to put the expand/collapse symbol.
Effect: JS’s effect to use.
Order by: display order of categories.
Expand: if list should be expanded or callapsed by default.
Show number of posts: display how many post are published in the category.
Show empty categories: display categories with no posts.
Open links in a new page: render category links with target=”_blank”.
Categories to include: categories to be included from the list.
Categories to exclude: categories to be excluded from the list.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon