
內容簡介
這個外掛讓你可以為你的文章選擇一個主要分類或分類法以便得到更好的永久連結和SEO效果。
功能
通常,你會選擇自訂結構 /%category%/%postname%/% 作為永久連結。當你的文章分類有多個時,預設使用最低ID的%category%。此外,這個外掛可以讓你在「文章編輯」頁面中選擇你想要的分類。所選擇的分類會在「文章列表」和「文章編輯」頁面中以粗體顯示。
文章列表
在文章標題下面,你可以看到目前設定的永久連結。如果有一個愛心出現在連結旁邊,表示這個文章的分類(或分類法)已經被選擇。
面包屑
因為面包屑是由特定的主題或外掛程式創建的,所以無法直接提供自動支援。如果出現面包屑相關的問題,請在支援串中告訴我們,讓我們看看如何解決。
相容性
這個外掛適用於任何創建文章類型和分類法的主題或外掛程式,但是似乎不適用於名為「Types」的外掛程式。您可以使用「Custom Post Type UI」。
請協助開發
這個外掛對於標準設置是有效的,但是針對不同狀況,你可能需要對它進行修改。請不要猶豫,參與使這個外掛更好。官方的Git項目在這裡:https://github.com/jordymeow/wp-category-permalink。感謝以下貢獻者:
David Remer (https://github.com/websupporter)
支援的語言:英文。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin allows you to select a main category (or taxonomy) for your posts for nicer permalinks and SEO.
What it does?
A custom structure such as /%category%/%postname%/ should be usually chosen for your permalinks. By default, this %category% is selected automatically (using the lowest ID) in the case your post is assigned to more than one category. This plugin will let you pick the category of your choice from the ‘Post Edit’ page. The chosen category is shown in bold on the ‘Posts List’ page and the ‘Post Edit’ page.
Posts List
Below the title, you will see the permalink currently set-up for this entry. If a heart is present, it means that the category (or taxonomy) has been picked up.
Breadcrumbs
They have their own way of working and can’t be supported automatically by default because they are created by specific themes or plugins. If you encounter issues with breadcrumbs, please say so in the Support Threads and let’s see how we can make it work.
Compatibility
It works with any theme or plugin that creates post types and taxonomies but it looks like it doesn’t work with the plugin called “Types”. You can use “Custom Post Type UI” instead.
Please contribute
It works for standard setups, but the plugin might be modified depending on the case. Don’t hesitate to participate in making this plugin better. The official git for this project is here: https://github.com/jordymeow/wp-category-permalink. Thanks to those contributors:
David Remer (https://github.com/websupporter)
Languages: English.
