[WordPress] 外掛分享: Remove Parents

首頁外掛目錄 › Remove Parents
100+
安裝啟用
尚無評分
6747 天前
最後更新
問題解決
WordPress 2.3+ v1.0 上架:2007-09-26

內容簡介

有時您並不想在永久連結網址顯示父目錄,因為它們並不是真正必要的,或者您知道將來子目錄可能會更改其父目錄。

例如:
+進行中的工作
–網站1
–網站2
+工作已完成
–網站3

在這種情況下,網站3最初是“進行中的工作”的一部分,完成後,它被移至“工作已完成”下面。

因此,如果您安裝此外掛程式,您的鏈接將轉換為以下方式:

domain.com/parent_category/child_directory/post_name => domain.com/child_directory/post_name
domain.com/category/parent_category => domain.com/parent_category
domain.com/category/parent_category/child_directory => domain.com/parent_category/child_directory

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Remove Parents」→ 直接安裝(推薦)

原文外掛簡介

Sometimes you don’t want to show parent directories in permalink because they are not really necessary or because you know that in the future your child directory will change it’s parent.
For example:
+Work in progress
–Site 1
–Site 2
+Work Finished
–Site 3
In this case Site 3 originally have been part of “Work in progress”, and on job done it has been moved under “Work Finished”.
So if you install this plugin your link will be transformed in this way:
domain.com/parent_category/child_directory/post_name => domain.com/child_directory/post_name
domain.com/category/parent_category => domain.com/parent_category
domain.com/category/parent_category/child_directory => domain.com/parent_category/child_directory

延伸相關外掛

文章
Filter
Apply Filters
Mastodon