前言介紹
- 這款 WordPress 外掛「CatWalker」是 2011-05-05 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2015-04-23,距離現在已有 3664 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.1 以上版本才可以安裝。
- 有 4 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
widgets | categories | intersections | Custom Taxonomies |
內容簡介
「catWalker」外掛可讓您在WordPress分類中做更多事情,此外掛有以下主要用途:
產生可客製化的分類清單並嵌入頁面或文章內容中
建立可設定的小工具,讓訪客更輕易地找到兩個分類的文章或頁面交集
在頁面或文章中列出交叉分類的清單
列出某一分類的文章或頁面清單在頁面或文章中
在每篇文章的底部自動列出該篇文章所歸屬的分類
在每篇文章的底部自動列出歸屬於同一分類的其他文章
客製化設定分類彙整頁面的排序偏好和文章數量等
此外,使用者還可以選擇使用階層式自訂分類法(稱為「屬性」),並可套用於頁面和文章。若使用「屬性」自訂分類法,則大部分以上功能都可套用至頁面和文章。
分類清單
若要產生您網站的分類清單,請在任何文章或頁面中加入以下shortcode(在中括號內):
[categories]
分類清單高度可客製化。例如,若只想顯示分類樹中的其中一個分支,您可以建立以下shortcode:
[categories child_of=”#”]
其中#即為父分類的ID。
這僅是您可用來客製化清單的許多屬性之一。您可以使用下方連結中所記載的選項:
https://codex.wordpress.org/Template_Tags/wp_list_categories
此外,您可設定清單的「taxonomy」。一般而言,您將可選擇使用內建的「類別」taxonomy或此外掛所附帶的自訂「屬性」taxonomy。
前往「設定」>「寫作」以選擇是否使用「屬性」自訂分類法,並選擇是否將其設定為CatWalker所有功能(shortcode和CrossCategorizer小工具)的預設值。
Cross Categorizer小工具
在展示頁面上,Cross Categorizer小工具包含兩個可設定的分類下拉清單。選擇兩個分類後,點擊「搜尋」即可查看屬於兩者的文章或頁面。
在管理者頁面上,您可以根據需要在每個下拉清單中設定不同的分類分支。
從1.3.1版本開始,您也可以選擇列出空白分類。以前,空白分類是不會被列出的,這仍是預設行為。
Cross Categorizer shortcode
您可以在任何文章或頁面中加入可設定的交叉分類列表。使用以下shortcode:
[crosscat]
配合下方連結中所記載的任何選項使用:
https://codex.wordpress.org/Function_Reference/get_categories
若要顯示交叉分類,請加入「intersector」attribute。清單中的分類將指向同時屬於該交叉分類和該年份課程的文章或頁面。例如,若「10」是「年份」分類的ID,下屬子分類為「2011」、「2010」、「2009」等,而「20」是某個特定課程的ID。以下shortcode將列出所有Years的子分類,而連結名稱只會指向已被歸類為該年份課程的文章或頁面:
[crosscat child_of=”10″ intersector=”20″]
清單中會顯示每個交叉分類的結果數量,並且找不到結果的連結會是半透明的。
列出分類文章
U
原文外掛簡介
The catWalker plugin lets you do more with WordPress categories. The plugin has these main uses.
Generate a customizable list of categories within the contents of a page or post
Create a configurable widget that will make it easy for visitors to find posts or pages at the intersection of two categories
Generate a list of cross-categorizations on a page or post
List the posts or pages from a given category on a page or post
Automatically list at the bottom of each post the categories which have been assigned to that post
Automatically list at the bottom of each post other posts in the same category
Customize the ordering preferences and number of posts on category archive pages
In addition, users can opt to use a hierarchical custom taxonomy (called “Attributes”) that applies to Pages as well as Posts. If you use the Attributes taxonomy, most of the above options can be used on pages as well as posts.
List categories
To generate a list of your site’s categories add the following shortcode (in square brackets) to any post or page:
[categories]
The listing is highly configurable. To show just one branch of your category structure, for instance, you can create a shortcode like this:
[categories child_of=”#”]
where the # stands for the id of the parent category.
This is only one of many attributes that you can use to customize your list. In general, you should be able to use any of the options documented at:
https://codex.wordpress.org/Template_Tags/wp_list_categories
In addition, if you can set a ‘taxonomy’ for your listing. In general, your choices will be to use the built-in “Categories” taxonomy or the custom “Attributes” taxonomy that comes with this plugin.
Go to Settings > Writing to choose whether or not to use the custom “Attributes” taxonomy, and whether or not to make it the default for all CatWalker functions (shortcodes and the CrossCategorizer widget).
Cross Categorizer widget
On display pages, the Cross Categorizer widget includes two configurable dropdown lists of categories. Choose two categories, then click “Search” to view the posts or pages that belong to both.
On the admin side you can configure the widget to show different category branches in each dropdown.
As of version 1.3.1 you can also opt to list empty categories. Previously empty categories were not listed, and that is still the default behavior.
Cross Categorizer shortcode
You can add a configurable list of cross-categorizations to any post or page. Use this shortcode
[crosscat]
with any of the options documented at:
https://codex.wordpress.org/Function_Reference/get_categories
To show cross categorizations add an “intersector” attribute. The list of categories will then link only to posts that belong also to the intersector category. Imagine, for instance, that “10” is the id for a category called “Years” with child categories “2011,” “2010,” “2009,” etc. Let “20” be the id for a category that names a particular course. The following shortcode would list all the children of Years, and the linked names would point only to posts or pages that had been categorized as belonging to the course in a give year.
[crosscat child_of=”10″ intersector=”20″]
The listing will show the number of results for each cross categorization, and links that do not find any results are semi-transparent.
List category posts
User the shortcode:
[category-posts]
to list on a page or post all the posts or pages belonging to a particular category (or other taxonomy term).
Custom “Attributes” Taxonomy
The hierarchical custom taxonomy “Attributes” applies to Pages as well as Posts. Activated it in the “Catwalker Options” section on the “Settings > Writing” page, where you can also opt to make “Attributes” the default taxonomy for CatWalker functions.
Post Attributes Listing
If you are using the custom Attributes taxonomy, you may want to include a list of Attributes assigned to a given post or page at the end of that post or page. Many themes offer similar lists of tags and categories, but because these lists are typically theme-specific, it is not possible to provide a theme-generic solution. On the other hand, you can improve your chances by setting a CSS class for the attributes listing so that it will be styled similarly to the category listing in your theme. You can set both of these options on the Settings > Writing page in the CatWalker Options settings.
Related Posts Listing
You can automatically add a list of related posts or pages to the end of every post or page by checking the appropriate box on the Settings > Writing page. You can designate specific categories or attributes to be included, you can specify categories or attributes whose child-terms will be included, or you can leave those inputs blank to list related posts for all terms. In a similar way, you can list terms for which to include no related-posts lists. The automated related-posts listing will operate only on your CatWalker default taxonomy.
Custom order and limit on Category Pages
(Currently available only for Categories and not for the custom Attributes taxonomy.) Go to the “Catwalker Options” section of the “Settings > Writing” page. Check the box to use a custom ordering and choose your preferences from the drop-down menus. You can sort by date or title, ascending or descending. You can also choose a custom number of posts to display on category archive pages.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CatWalker」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.6 | 0.7 | 0.8 | 0.9 | 1.0 | 1.1 | 1.2 | 1.3 | 1.2.1 | 1.2.2 | 1.2.3 | 1.3.1 | trunk |
延伸相關外掛(你可能也想知道)
Meta Box 》Meta Box 是一個強大、專業又輕量級的工具組,供開發者在 WordPress 中為任何自訂文章型別建立自訂的 Meta Box 與自訂欄位。, 透過 Meta Box,您可以使用超過...。
Pods – Custom Content Types and Fields 》使用「Pods Framework」在一個地方管理你所有自訂內容需求。, , , 建立內容類型,包括自訂文章類型、自訂分類、以及我們專屬的「進階內容類型」(ACT),...。
MB Custom Post Types & Custom Taxonomies 》MB Custom Post Types & Custom Taxonomies 可以在 WordPress 中提供簡單易用的 UI 來輕鬆註冊和編輯自定義文章類型和分類法,並且可以處理所有文章類型...。
Custom post types, Custom Fields & more 》確實免費的 WordPress 外掛「自訂型態文章」可以讓您:, , 建立自訂型態文章, 建立自訂分類(例如:類別、標籤等等), 在型態文章上建立自訂欄位, 在分類上建...。
CubeWP – All-in-One Dynamic Content Framework 》CubeWP Framework 是給 WordPress 開發人員的「鋼鐵人戰衣」。, CubeWP Framework 是最終的動態內容解決方案,可讓您以最短的時間活力您的想法,無需複雜的編...。
Simple Taxonomy 》WordPress 3.1及以上版本可以允許簡單地自訂分類,而這個外掛可以讓它變得更加簡單,完全不需要您編寫任何代碼。, 支援帶有階層結構或無階層結構的分類。可以...。
WP Permastructure 》此外,除了控制自訂文章類型的永久網址,此外掛還支援在您的永久網址結構中使用自訂分類。, 不僅如此,您還可以控制完整的永久網址,使文章類型別名不需要出...。
Simple Taxonomy Refreshed 》支援在您安裝的任何對象上添加一個或多個分類法(層級式或標籤式)。, 此外掛程式最初是從Simple Taxonomy進行功能轉換並在WordPress 5.1-6.1與PHP 7.2-8.0上...。
Custom Taxonomy Order 》Order Up!, 這是一系列 WordPress 外掛,透過簡單易用的拖曳界面,提供管理者對頁面、文章,以及分類進行排序。, 這些外掛非常輕量,並未載入不必要的腳本到...。
Simple Custom post type custom field 》最佳外掛程式,用於建立自訂文章類型和欄位,非常容易上手,您會喜歡使用它並體驗其魔力。, , 簡單的自訂文章類型和自訂欄位製作工具。, , , 僅需兩次點擊即...。
MW Taxonomy 》該外掛需要支持小工具的主題。未創建任何區塊以顯示您的自定分類。, 在您的 WordPress 管理的網站中添加一個或多個自定分類。, 該外掛專注於易於使用的界面,...。
LIQUID TOOLS – Simple Custom Fields & Custom Post Types 》**LIQUID TOOLS WordPress 外掛總結:**, , LIQUID TOOLS 是一個簡單的 WordPress 外掛,可輕鬆管理自訂文章類型、分類和自訂欄位。它提供多項功能,包括自訂...。
Restricted Tags 》允許站點管理員限制其他使用者在其站點上可使用的標籤。, 管理員也可以限制自訂的非階層式分類項目。, 此外掛會將文章編輯頁面上的「標籤 (Post Tag)」介面改...。
All in one demo Export/Import 》Customizer Export/Import(自訂主題匯出/匯入), 這款 All in one Demo Import/Export(多合一主題演示網站匯入/匯出)外掛允許您從自訂主題匯出或匯入 Word...。
TT Custom Post Type Creator 》如果您使用這個外掛後可以給予評價和任何建議我會非常感激。如果您喜歡這個外掛,您可以通過單擊連結進行捐贈或貢獻。, TT Custom Post Type Creator 是一個...。