這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

安裝方式

  1. Upload remove_parents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set your permalink structure as “/%category%/%postname%” (or something like “/%category%/%postname%.extension”)
  4. Set your Category Base empty.
  5. Test everything and let me know if you find some bug 😉

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Remove Parents〉的開發相關工作。

參與者

將〈Remove Parents〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄