[WordPress] 外掛分享: xili-tidy-tags

WordPress 外掛 xili-tidy-tags 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「xili-tidy-tags」是 2009-03-30 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2025-03-24,距離現在已有 41 天。
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 有 8 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

michelwppi |

外掛標籤

tags | posts | taxonomy | shortcode | multilingual |

內容簡介

在單語言網站上(博客或CMS)

xili-tidy-tags 是一個將標籤按語義分組和子分組的工具。
這個標籤彙編工具還可以根據CMS網站的兩個或更多主要部分進行標籤分組。也可以在類別的平行處創建標籤組,並顯示仅與顯示類別相關的“子”標籤雲。

在多語言網站上

xili-tidy-tags 是一種通過xili-language插件將標籤按語言進行分組並創建整潔的標籤雲的工具。例如,當主題以英語顯示時,僅顯示英語標籤,因為文章或當前類別顯示了英語文本。從技術上講,與xili-language一樣,此插件不會在WordPress數據庫中創建表。它僅使用(豐富的)分類功能。因此,無論是否使用插件,基本結構都沒有改變。

xili-tidy-tags相對於/反對按術語的父屬性的含義

通過默認的parent功能,一個標籤(術語)只能有一個父層。默認稅類(參見文件taxonomy.php)非常強大,但不包括將標籤分組在另一個標籤下的查詢。這就是自WP 2.7以來創建xili-tidy-tags插件的目的!最初是為了按語言分組標籤,但在結構上包含了分組標籤按語義分組的所有功能,且一個標籤可以屬於一個或多個組。

xili-tidy-tags為什麼會在1.9版中引入分組功能?

開發者專用,使用範本標記
使用WP核心taxonomy.php的“alias of”和“group”優秀功能,xili-tidy-tags現在提供了一種“連接”不同語言的標籤(紅色,rouge,rot,…)的方法。因此,當顯示與法語標籤(rouge)關聯的法語文章列表時,現在可以顯示其他語言的標籤列表(紅色,rouge,rot,…),並且訪問者現在可以單擊紅色並顯示與紅色標籤標註的文章列表的網頁。僅使用taxonomy wpdb表,無新表,無選項表中的新行。

可用於插入標籤雲的小工具

強大的小工具易於設置並選擇何時顯示標籤組。

可在主題設計中使用的範本標記

提供範本標記以豐富主題和顯示標籤的子選擇。
通過設定管理UI,可以指定給標籤一個或多個組(例如將法語標籤指定為法語語言組。將WordPress等商標術語指定為名為“商標”的組。您可以選擇不同的存儲策略。

自1.9版以來新增了2個範本標記:xili_tidy_tags_group_links用於顯示包含當前標籤的標籤組(在主題的tag.php中非常有用),以及xili_tidy_tag_in_other_lang用於返回組中其他語言的另一個標籤的信息(鏈接)。 xili-language版本> 2.9.0將在顯示tag.php頁面時使用語言切換導航菜單中的鏈接切換語言!(如果顯示了“紅色”標籤頁面,法語的語言菜單將鏈接到“rouge”!)

簡碼

在文章內容中添加簡碼,以在文本中包含一組標籤的雲。

簡碼示例:[xili-tidy-tags params="tagsgroup=trademark&largest=10&smallest=10" glue=" | "]
在這種情況下,名為'trademark'的標籤組將顯示在文章的一個段落中。 params定義如同

原文外掛簡介

on monolingual website (blog or CMS)
xili-tidy-tags is a tool for grouping tags by semantic groups and sub-groups.
This tags aggregator can also, by instance, be used to group tags according two or more main parts of the CMS website. It is also possible to create group of tags in parallel of category and display a ‘sub’ tag cloud only depending of the displayed category.
on multilingual website
xili-tidy-tags is a tool for grouping tags by language with xili-language plugin for multilingual site and for creating tidy tag clouds. By instance to present only tags in english when the theme is in english because the post or the current category present texts in english. Technically, as xili-language, this plugin don’t create tables in wordpress db. He only use (rich) taxonomy features. So, with or without the plugin, the base structure is not modified.
Why xili-tidy-tags versus / against included parent property of terms ?
With default parent feature, a tag (term) can have only one parent. The default taxonomy (see file taxonomy.php in folder wp-includes) is very poweful but don’t include the queries to group tags under one another tag. Is is the purpose of this plugin xili-tidy-tags created since WP 2.7 ! Initially created to group tags by language, he structurally contains all functions to group tags by semantic groups AND one tag can belong to one or more groups.
Why xili-tidy-tags introduces grouping features since version 1.9 ?
RESERVED for DEVELOPERS using template-tags
Using nice feature “alias of” and “group” of WP core taxonomy.php, xili-tidy-tags offers now a way to “link” tags of different languages (red, rouge, rot,…). So when displaying list of french posts associated with a french tag (rouge), it is now possible to show a list of tags in other languages (red, rouge, rot,…) and visitor is now able to click on red and show the webpage of list of posts tagged with red. Only taxonomy wpdb tables are used, no new tables, no new lines in options table.
Widget to insert Tags cloud
The powerful widget is easy to setup and to choose what and when group of tags to display.
Template tags usable in theme design
Template tags are provided to enrich the theme and display sub-selection of tags.
Through the settings admin UI, it is possible to assign to a tag one or more groups (by instance a french tag to the french language group. A trademark term like WordPress to a group named “trademark”. You can choose different storage policies.
NEW 2 template-tags since 1.9 : xili_tidy_tags_group_links to show the group of tags containing the current tag (useful in tag.php of theme) and xili_tidy_tag_in_other_lang to return info (link) of one other tag of the group in an another lang. Xili-language version > 2.9.0 will use the links switching in language switching navigation menu when displaying tag.php page. (if “red” tag page is displayed, language menu for french will link to “rouge” !)
Shortcode
add shortcode inside a post content to include in your text a cloud of a group of tags.
Example of shortcode : [xili-tidy-tags params="tagsgroup=trademark&largest=10&smallest=10" glue=" | "]
In this cas, the group of tags named ‘trademark’ will be display inside a paragraph of a post. The params are defined as in xili_tidy_tag_cloud() and as in wp_tag_cloud(). The glue is chars inserted between the tags (if omitted default is a space).
Example of tag cloud made with shortcode here
TRILOGY FOR MULTILINGUAL CMS SITE
Please verify that you have installed the latest versions of:
xili-language, xili-tidy-tags, xili-dictionary
Translations available for admin UI

english, french by the author,
spanish and serbian – contributions of Ognjen D., firstsiteguide.com

Roadmap

readme.txt rewritting.
more function for grouping new features introducted in version 1.9

Version 1.12.06

fixes forget sanitize – thanks to vgo0 (report by WordFence)
Last Updated 2024-11-04

Version 1.12.04

fixes forget nounce
Last Updated 2023-08-01

Version 1.12.01

Last Updated 2019-05-18
rewritten with WPCS rules
prerequisite PHP 7.1+
Previous Tags: tag,tags,theme,post,plugin,posts, page, category, admin,multilingual,taxonomy,dictionary,widget,CMS, multisite, wpmu, bbPress, shortcode
see tab and chapters in changelog

More infos
Capabilities and roles :
0.9.5 : Administrator role can create grouping or setting capabilities for editor role. ‘Grouping’ permits to editor to group tags in group (lang and/or semantic). ‘Setting’ permits to editor to create, modify or delete semantic groups. Only administrator has access to languages groups.
The plugin post is frequently documented dev.xiligroup.com
and updated WordPress repository.
See also the dev.xiligroup plugins forum.
© 2009-2020 MS – dev.xiligroup.com

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「xili-tidy-tags」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.1 | 1.0.1 | 1.2.1 | 1.3.0 | 1.3.3 | 1.4.0 | 1.4.1 | 1.4.2 | 1.4.3 | 1.5.0 | 1.5.1 | 1.5.2 | 1.5.3 | 1.5.4 | 1.6.0 | 1.6.1 | 1.6.2 | 1.6.3 | 1.6.4 | 1.7.0 | 1.8.0 | 1.8.1 | 1.8.2 | 1.8.4 | 1.8.5 | 1.8.6 | 1.9.0 | 1.9.1 | 1.9.2 | 1.9.3 | trunk | 1.10.0 | 1.10.1 | 1.10.2 | 1.10.3 | 1.11.0 | 1.11.1 | 1.11.2 | 1.11.3 | 1.11.4 | 1.11.5 | 1.12.01 | 1.12.02 | 1.12.03 | 1.12.04 | 1.12.05 | 1.12.06 | 1.5.3.1 |

延伸相關外掛(你可能也想知道)

  • Custom Post Type UI 》Custom Post Type UI 提供了易於使用的界面,以便為您的網站註冊和管理自定義文章類型和分類法。, Custom Post Type UI Extended, CPTUI 協助建立自定義內容...。
  • WordPress Tag, Category, and Taxonomy Manager – AI Autotagger 》axoPress allows you to show a customizable display of the terms assigned to the current post. You can choose which taxonomy and which format to dis...。
  • Search & Filter 》Search & Filter 是一款簡單的 WordPress 搜尋和篩選外掛程式,是 WordPress 搜尋框的進階版。, 您可以透過類別、標籤、自訂分類、文章類型、發佈日期或...。
  • Related Posts by Taxonomy 》此外掛可以讓你快速增加讀者的參與度,透過小工具或簡碼在側邊欄或文章內容後加入相關文章。有相同詞彙數量的文章會顯示在最前面!此外掛可以在多個種類和文...。
  • Radio Buttons for Taxonomies 》此外掛可將預設的分類方塊替換為使用單選按鈕的自訂 metabox…從而限制每篇文章在該分類中只能選擇一個術語。, 插件選項頁面允許使用者選擇要切換為使用...。
  • Custom Post Type Widgets 》此 WordPress 外掛可以添加預設的自訂文章類型小工具。, 您可以在小工具上篩選已註冊的自訂文章類型或分類法。, , 小工具描述, , 最新文章 (自訂文章類型), ...。
  • Term Management Tools 》請注意,此外掛需要至少 PHP 7.1。, 如果您需要重新組織標籤和分類,此外掛可以讓您更輕鬆地進行操作。它在條目管理頁面的“批次操作”下拉菜單中添加了三個新...。
  • Taxonomy Images 》在你的主題中顯示圖像, 有一些過濾器可以在你的主題中使用,來顯示此外掛創建的圖像關聯。請閱讀以下詳細信息。, 顯示代表術語檔案庫的單個圖像, 以下過濾器...。
  • PS Taxonomy Expander 》PS Taxonomy Expander 可以讓您更輕鬆地在編輯文章時使用類別、標籤和自訂分類法。, 功能, , 啟用將分類法核取方塊變成有階層的單選按鈕功能。, 讓您在 WordP...。
  • Posts in Page 》使用簡單的簡碼 (shortcodes),輕鬆地將一個或多個文章添加到任何頁面。, 支援類別 (categories)、標籤 (tags)、自訂文章類型 (custom post types)、自訂稅項...。
  • WP Term Order 》按照您的方式對分類法詞進行排序。, WP Term Order 允許使用者以數字方式對任何可見的類別、標籤或分類法詞進行排序,為其分類法提供定制排序。, 同時也請查...。
  • Taxonomy Metadata 》此外掛實現了分類術語的元數據基礎設施,因此您可以向標籤、類別和其他分類術語中添加自定義元數據(按鍵)。大部分代碼來自於sirzooro提交到 WordPress Core...。
  • Remove Taxonomy Base Slug 》如果您想要對您的自訂文章類型文章使用更好的固定連結,並使用自訂的固定連結,這個外掛程序可以協助您。, 如果該術語的slug和文章類型相同,那麼該分類的優...。
  • HTML Import 2 》此外掛可匯入格式完整的靜態 HTML 檔案到 WordPress。需要 PHP 5 及以上版本。, 此插件可將一個目錄的檔案匯入為頁面或文章。您可以指定包含您想匯入內容的 H...。
  • JC Submenu 》JC子選單外掛允許你自動填入自定義的文章類型、分類或子頁面到導覽選單中。此外掛容易使用,並被設計成為一個輕量化的選單擴充套件。, 透過我們的進階子選單...。

文章
Filter
Apply Filters
Mastodon